hassan526 commited on
Commit
54475d6
·
verified ·
1 Parent(s): 7cb2dd8

Update gradio/app.py

Browse files
Files changed (1) hide show
  1. gradio/app.py +2 -2
gradio/app.py CHANGED
@@ -290,7 +290,7 @@ if __name__ == '__main__':
290
  allow_flagging="never" # 🚫 disables writing to `flagged/`
291
  )
292
 
293
- gr_app = gr.mount_gradio_app(app, dummy_interface)
294
-
295
  import uvicorn
296
  uvicorn.run(gr_app, host="0.0.0.0", port=7860)
 
290
  allow_flagging="never" # 🚫 disables writing to `flagged/`
291
  )
292
 
293
+ gr_app = gr.mount_gradio_app(app, dummy_interface, path="/gradio")
294
+
295
  import uvicorn
296
  uvicorn.run(gr_app, host="0.0.0.0", port=7860)