Spaces:
Sleeping
Sleeping
Commit
·
3ee3073
1
Parent(s):
2174367
Revert mount path
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("/
|
| 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("/", demo.app)
|
| 495 |
|
| 496 |
# For standalone testing
|
| 497 |
if __name__ == "__main__":
|