sohamchitimali commited on
Commit
6aa3cdc
·
1 Parent(s): c57c5cd

Mounting Fix

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -1174,8 +1174,4 @@ with gr.Blocks(
1174
  outputs=[single_output]
1175
  )
1176
 
1177
- demo.mount_app(app)
1178
-
1179
- # Launch only the Gradio app
1180
- if __name__ == "__main__":
1181
- demo.launch(server_name="0.0.0.0", server_port=7860)
 
1174
  outputs=[single_output]
1175
  )
1176
 
1177
+ gr.mount_gradio_app(app, demo, path="/")