Spaces:
Running
Running
| import logging | |
| import uvicorn | |
| from config import HOST, PORT | |
| from proxy.router import create_app | |
| logging.basicConfig( | |
| level=logging.INFO, | |
| format="%(asctime)s [%(levelname)s] %(name)s: %(message)s", | |
| ) | |
| app = create_app() | |
| if __name__ == "__main__": | |
| uvicorn.run("main:app", host=HOST, port=PORT, reload=False) | |