Update app.py
Browse files
app.py
CHANGED
|
@@ -67,7 +67,7 @@ with gr.Blocks(title="Bot Townhall") as demo:
|
|
| 67 |
|
| 68 |
# 4. MOUNT GRADIO TO FASTAPI
|
| 69 |
# This merges the two apps so they share the same port and routes
|
| 70 |
-
app = gr.mount_gradio_app(app, demo, path="/")
|
| 71 |
|
| 72 |
if __name__ == "__main__":
|
| 73 |
# Use uvicorn to start the single unified app on port 7860
|
|
|
|
| 67 |
|
| 68 |
# 4. MOUNT GRADIO TO FASTAPI
|
| 69 |
# This merges the two apps so they share the same port and routes
|
| 70 |
+
app = gr.mount_gradio_app(app, demo, path="/",ssr_mode=False)
|
| 71 |
|
| 72 |
if __name__ == "__main__":
|
| 73 |
# Use uvicorn to start the single unified app on port 7860
|