Spaces:
Sleeping
Sleeping
Download run.py from knighter75/translate-api: direct link, hf CLI and curl.
- Browser
- Download file 154 Bytes
-
https://huggingface.co/spaces/knighter75/translate-api/resolve/main/run.py
- Command line
-
hf download hf://spaces/knighter75/translate-api/run.py
-
curl -L -o run.py https://huggingface.co/spaces/knighter75/translate-api/resolve/main/run.py
154 Bytes
| import uvicorn | |
| if __name__ == "__main__": | |
| uvicorn.run( | |
| "app.main:app", | |
| host="127.0.0.1", | |
| port=8002, | |
| reload=True | |
| ) |