rogerxavier's picture
Create server.py
799b1bf 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)