Spaces:
Running
Running
Download run.py from xenecode/Jaguar_Project: direct link, hf CLI and curl.
- Browser
- Download file 311 Bytes
-
https://huggingface.co/spaces/xenecode/Jaguar_Project/resolve/main/run.py
- Command line
-
hf download hf://spaces/xenecode/Jaguar_Project/run.py
-
curl -L -o run.py https://huggingface.co/spaces/xenecode/Jaguar_Project/resolve/main/run.py
311 Bytes
| import eventlet | |
| eventlet.monkey_patch() | |
| from config import Config | |
| from __init__ import create_app | |
| app, socketio = create_app() | |
| if __name__ == '__main__': | |
| print(f"Starting server at http://{Config.HOST}:{Config.PORT}") | |
| socketio.run(app, host=Config.HOST, port=Config.PORT) | |
| print("Server stopped.") |