Commit
·
93c14ca
1
Parent(s):
2ed5fff
fixing docs link for gradio interface
Browse files
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
|
|
|
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)
|