Download app.py from Partha11/ml-server: direct link, hf CLI and curl.
- Browser
- Download file 203 Bytes
-
https://huggingface.co/spaces/Partha11/ml-server/resolve/main/app.py
- Command line
-
hf download hf://spaces/Partha11/ml-server/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Partha11/ml-server/resolve/main/app.py
203 Bytes
| import uvicorn | |
| if __name__ == "__main__": | |
| config = uvicorn.Config( | |
| app="src.main:api", | |
| port=10003, | |
| log_level='info' | |
| ) | |
| server = uvicorn.Server(config) | |
| server.run() |