Spaces:
Sleeping
Sleeping
Download server.py from singoojiang/auto-mix-video: direct link, hf CLI and curl.
- Browser
- Download file 334 Bytes
-
https://huggingface.co/spaces/singoojiang/auto-mix-video/resolve/main/server.py
- Command line
-
hf download hf://spaces/singoojiang/auto-mix-video/server.py
-
curl -L -o server.py https://huggingface.co/spaces/singoojiang/auto-mix-video/resolve/main/server.py
334 Bytes
| import uvicorn | |
| from fastapi import FastAPI | |
| from src.api.api import api | |
| from src.configs import configs | |
| app = FastAPI() | |
| app.include_router(api) | |
| if __name__ == "__main__": | |
| uvicorn.run( | |
| app="server:app", | |
| host=configs.server.host, | |
| port=configs.server.port, | |
| workers=configs.server.workers, | |
| ) | |