Spaces:
Build error
Build error
Download reascripts/common/libs/Polo.lua from TechAudio/ReaSpeech-Cloud: direct link, hf CLI and curl.
- Browser
- Download file 406 Bytes
-
https://huggingface.co/spaces/TechAudio/ReaSpeech-Cloud/resolve/main/reascripts/common/libs/Polo.lua
- Command line
-
hf download hf://spaces/TechAudio/ReaSpeech-Cloud/reascripts/common/libs/Polo.lua
-
curl -L -o Polo.lua https://huggingface.co/spaces/TechAudio/ReaSpeech-Cloud/resolve/main/reascripts/common/libs/Polo.lua
406 Bytes
| --[[ | |
| Polo.lua - Plain Old Lua Object (POLO) class generator | |
| ]]-- | |
| function Polo(definition) | |
| definition.__index = definition | |
| local new_override = definition.new | |
| definition.new = function(...) | |
| local o = new_override and new_override(...) or ... or {} | |
| assert(type(o) == 'table') | |
| setmetatable(o, definition) | |
| if o.init then o:init() end | |
| return o | |
| end | |
| return definition | |
| end | |