Spaces:
Sleeping
Sleeping
Download run_server.py from VsinghiAssociates/Scanlly: direct link, hf CLI and curl.
- Browser
- Download file 186 Bytes
-
https://huggingface.co/spaces/VsinghiAssociates/Scanlly/resolve/main/run_server.py
- Command line
-
hf download hf://spaces/VsinghiAssociates/Scanlly/run_server.py
-
curl -L -o run_server.py https://huggingface.co/spaces/VsinghiAssociates/Scanlly/resolve/main/run_server.py
186 Bytes
| import os | |
| from app import app | |
| if __name__ == "__main__": | |
| host = os.getenv("HOST", "0.0.0.0") | |
| port = int(os.getenv("PORT", 7860)) | |
| app.run(host=host, port=port, debug=False) | |