Spaces:
Runtime error
Runtime error
Download run.py from SpreadSheets600/PoraHobe: direct link, hf CLI and curl.
- Browser
- Download file 281 Bytes
-
https://huggingface.co/spaces/SpreadSheets600/PoraHobe/resolve/main/run.py
- Command line
-
hf download hf://spaces/SpreadSheets600/PoraHobe/run.py
-
curl -L -o run.py https://huggingface.co/spaces/SpreadSheets600/PoraHobe/resolve/main/run.py
281 Bytes
| from dotenv import load_dotenv | |
| from app import create_app | |
| import os | |
| load_dotenv() | |
| app = create_app() | |
| if __name__ == "__main__": | |
| port = int(os.environ.get("PORT", 8080)) | |
| debug = os.environ.get("FLASK_DEBUG", "0") == "1" | |
| app.run(host="0.0.0.0", port=port, debug=debug) | |