Spaces:
Running
Running
File size: 321 Bytes
a056d23 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 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)
|