Spaces:
Configuration error
Configuration error
Download main.py from Raidenop/MoneyPrinterTurbo: direct link, hf CLI and curl.
- Browser
- Download file 389 Bytes
-
https://huggingface.co/spaces/Raidenop/MoneyPrinterTurbo/resolve/main/main.py
- Command line
-
hf download hf://spaces/Raidenop/MoneyPrinterTurbo/main.py
-
curl -L -o main.py https://huggingface.co/spaces/Raidenop/MoneyPrinterTurbo/resolve/main/main.py
389 Bytes
| import uvicorn | |
| from loguru import logger | |
| from app.config import config | |
| if __name__ == "__main__": | |
| logger.info( | |
| "start server, docs: http://127.0.0.1:" + str(config.listen_port) + "/docs" | |
| ) | |
| uvicorn.run( | |
| app="app.asgi:app", | |
| host=config.listen_host, | |
| port=config.listen_port, | |
| reload=config.reload_debug, | |
| log_level="warning", | |
| ) | |