Spaces:
Sleeping
Sleeping
Download server/app.py from vivekharry/scaler: direct link, hf CLI and curl.
- Browser
- Download file 237 Bytes
-
https://huggingface.co/spaces/vivekharry/scaler/resolve/main/server/app.py
- Command line
-
hf download hf://spaces/vivekharry/scaler/server/app.py
-
curl -L -o app.py https://huggingface.co/spaces/vivekharry/scaler/resolve/main/server/app.py
237 Bytes
| """OpenEnv server entry point for python_module deployment mode.""" | |
| import uvicorn | |
| from src.server import app # noqa: F401 | |
| def main(): | |
| uvicorn.run(app, host="0.0.0.0", port=7860, workers=1) | |
| if __name__ == "__main__": | |
| main() | |