Spaces:
Sleeping
Sleeping
Download FastAPI/main.py from abadesalex/emb-rep: direct link, hf CLI and curl.
- Browser
- Download file 181 Bytes
-
https://huggingface.co/spaces/abadesalex/emb-rep/resolve/main/FastAPI/main.py
- Command line
-
hf download hf://spaces/abadesalex/emb-rep/FastAPI/main.py
-
curl -L -o main.py https://huggingface.co/spaces/abadesalex/emb-rep/resolve/main/FastAPI/main.py
181 Bytes
| import uvicorn | |
| if __name__ == "__main__": | |
| # This line tells uvicorn to run the app defined in app/api.py | |
| uvicorn.run("app.api:app", host="0.0.0.0", port=8000, reload=True) | |