Spaces:
Running
Running
Commit ·
2174367
1
Parent(s): 75d4ff4
Mount issue
Browse files
ui.py
CHANGED
|
@@ -491,7 +491,7 @@ demo = build_ui()
|
|
| 491 |
|
| 492 |
def mount_ui(app: FastAPI):
|
| 493 |
"""Mount Gradio app to FastAPI"""
|
| 494 |
-
app.mount("/", demo.app)
|
| 495 |
|
| 496 |
# For standalone testing
|
| 497 |
if __name__ == "__main__":
|
|
|
|
| 491 |
|
| 492 |
def mount_ui(app: FastAPI):
|
| 493 |
"""Mount Gradio app to FastAPI"""
|
| 494 |
+
app.mount("/ui", demo.app)
|
| 495 |
|
| 496 |
# For standalone testing
|
| 497 |
if __name__ == "__main__":
|