Spaces:
Runtime error
Runtime error
Download main.py from junaidte14/aiverse: direct link, hf CLI and curl.
- Browser
- Download file 391 Bytes
-
https://huggingface.co/spaces/junaidte14/aiverse/resolve/main/main.py
- Command line
-
hf download hf://spaces/junaidte14/aiverse/main.py
-
curl -L -o main.py https://huggingface.co/spaces/junaidte14/aiverse/resolve/main/main.py
391 Bytes
| """ | |
| Application entry point | |
| Run with: uvicorn main:app --reload | |
| """ | |
| from app.main import app | |
| # This file exists so we can run: uvicorn main:app | |
| # which is simpler than: uvicorn app.main:app | |
| if __name__ == "__main__": | |
| import uvicorn | |
| from app.core.config import settings | |
| uvicorn.run( | |
| "app.main:app", host=settings.HOST, port=settings.PORT, reload=settings.DEBUG | |
| ) | |