rogerxavier's picture
Rename app.py to server.py
c5eb27e verified
raw
history blame
172 Bytes
from api import app
import os
import uvicorn
if __name__ == "__main__":
uvicorn.run("server:app", host="0.0.0.0", port=int(os.environ.get('PORT', 7860)), reload=True)