thecollabagepatch commited on
Commit
593abff
·
1 Parent(s): 65f69a6

fixing docs link for gradio interface

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -2122,7 +2122,7 @@ def read_root():
2122
  """
2123
  return Response(content=html_content, media_type="text/html")
2124
 
2125
- # @app.get("/documentation")
2126
- # def documentation():
2127
- # interface = create_documentation_interface()
2128
- # return interface.launch(share=False, server_name="0.0.0.0", server_port=None, prevent_thread_lock=True)
 
2122
  """
2123
  return Response(content=html_content, media_type="text/html")
2124
 
2125
+ @app.get("/documentation")
2126
+ def documentation():
2127
+ interface = create_documentation_interface()
2128
+ return interface.launch(share=False, server_name="0.0.0.0", server_port=None, prevent_thread_lock=True)