Vishwas1 commited on
Commit
9cca9e7
·
verified ·
1 Parent(s): f6c60c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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