Download Backend/fastapi/__init__.py from DevDoCode/stremio: direct link, hf CLI and curl.
- Browser
- Download file 203 Bytes
-
https://huggingface.co/spaces/DevDoCode/stremio/resolve/bedc5b14ea64dfb703349936c2d0860acb2d32bf/Backend/fastapi/__init__.py
- Command line
-
hf download hf://spaces/DevDoCode/stremio@bedc5b14ea64dfb703349936c2d0860acb2d32bf/Backend/fastapi/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/DevDoCode/stremio/resolve/bedc5b14ea64dfb703349936c2d0860acb2d32bf/Backend/fastapi/__init__.py
203 Bytes
| import uvicorn | |
| from Backend.config import Telegram | |
| from Backend.fastapi.main import app | |
| Port = Telegram.PORT | |
| config = uvicorn.Config(app=app, host='0.0.0.0', port=Port) | |
| server = uvicorn.Server(config) | |