d3dname commited on
Commit
2b7fd2d
·
verified ·
1 Parent(s): caa5196

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -18,4 +18,8 @@ demo = gr.Interface(
18
  description="Enter some text, and I'll echo it back to you!"
19
  )
20
 
21
- gr.mount_gradio_app(app, demo, path="/")
 
 
 
 
 
18
  description="Enter some text, and I'll echo it back to you!"
19
  )
20
 
21
+ gr.mount_gradio_app(app, demo, path="/")
22
+
23
+ if __name__ == "__main__":
24
+ import uvicorn
25
+ uvicorn.run(app, host="0.0.0.0", port=7860)