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