Update app.py
Browse files
app.py
CHANGED
|
@@ -155,7 +155,7 @@ def build_gradio_interface():
|
|
| 155 |
demo = build_gradio_interface()
|
| 156 |
|
| 157 |
# 6.1 挂载Gradio到FastAPI的 /gradio 路径
|
| 158 |
-
app = gr.mount_gradio_app(app, demo, path="/
|
| 159 |
|
| 160 |
##############################################################################
|
| 161 |
# 7) 在 main 中用 uvicorn 启动
|
|
|
|
| 155 |
demo = build_gradio_interface()
|
| 156 |
|
| 157 |
# 6.1 挂载Gradio到FastAPI的 /gradio 路径
|
| 158 |
+
app = gr.mount_gradio_app(app, demo, path="/")
|
| 159 |
|
| 160 |
##############################################################################
|
| 161 |
# 7) 在 main 中用 uvicorn 启动
|