Carlo (7shoe) commited on
Commit
5768130
·
1 Parent(s): b6402f3
Files changed (2) hide show
  1. app.py +4 -0
  2. requirements.txt +1 -0
app.py CHANGED
@@ -30,3 +30,7 @@ else:
30
  )
31
 
32
  app = gr.mount_gradio_app(app, demo, path="/gradio")
 
 
 
 
 
30
  )
31
 
32
  app = gr.mount_gradio_app(app, demo, path="/gradio")
33
+
34
+ if __name__ == "__main__":
35
+ import uvicorn
36
+ uvicorn.run(app, host="0.0.0.0", port=7860)
requirements.txt CHANGED
@@ -1 +1,2 @@
1
  gradio
 
 
1
  gradio
2
+ uvicorn