rogerxavier commited on
Commit
27d3236
1 Parent(s): 39c1558

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ from api import app
3
+ import os
4
+ import uvicorn
5
+
6
+
7
+ if __name__ == "__main__":
8
+
9
+ uvicorn.run("app:app", host="0.0.0.0", port=int(os.environ.get('PORT', 7860)), reload=True)