rogerxavier's picture
Update app.py
27d3236 verified
raw
history blame
190 Bytes
import gradio as gr
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)