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/39d7749cc72eb56f9affc8521b8967be4ea43e5a/Backend/fastapi/__init__.py
- Command line
-
hf download hf://spaces/DevDoCode/stremio@39d7749cc72eb56f9affc8521b8967be4ea43e5a/Backend/fastapi/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/DevDoCode/stremio/resolve/39d7749cc72eb56f9affc8521b8967be4ea43e5a/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) | |