thecollabagepatch commited on
Commit
93c14ca
·
1 Parent(s): 2ed5fff

fixing docs link for gradio interface

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2118,7 +2118,7 @@ def read_root():
2118
  """
2119
  return Response(content=html_content, media_type="text/html")
2120
 
2121
- @app.get("/documentation")
2122
  def documentation():
2123
  interface = create_documentation_interface()
2124
- return gr.mount_gradio_app(app, interface, path="/documentation")
 
2118
  """
2119
  return Response(content=html_content, media_type="text/html")
2120
 
2121
+ @app.get("/documentation")
2122
  def documentation():
2123
  interface = create_documentation_interface()
2124
+ return interface.launch(share=False, server_name="0.0.0.0", server_port=None, prevent_thread_lock=True)