ikraamkb commited on
Commit
8802df4
·
verified ·
1 Parent(s): a768964

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -254,9 +254,9 @@ with gr.Blocks() as demo:
254
  submit_btn.click(answer_question, inputs=[file_input, question_input], outputs=answer_output)
255
 
256
  # ✅ Mount Gradio with FastAPI
257
- app = gr.mount_gradio_app(app, demo, path="/demo")
258
 
259
  @app.get("/")
260
  def home():
261
- return RedirectResponse(url="/demo")
262
 
 
254
  submit_btn.click(answer_question, inputs=[file_input, question_input], outputs=answer_output)
255
 
256
  # ✅ Mount Gradio with FastAPI
257
+ app = gr.mount_gradio_app(app, demo, path="/")
258
 
259
  @app.get("/")
260
  def home():
261
+ return RedirectResponse(url="/")
262