tatianija commited on
Commit
d092297
·
verified ·
1 Parent(s): 39ea98b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -489,12 +489,12 @@ with gr.Blocks(title="Intelligent Agent with Conditional Search") as demo:
489
  generate_btn.click(
490
  fn=start_answer_generation,
491
  inputs=[model_choice],
492
- outputs=[generation_status, answers_preview]
493
  )
494
 
495
  refresh_btn.click(
496
  fn=get_generation_progress,
497
- outputs=[generation_status, answers_preview]
498
  )
499
 
500
  with gr.Tab("Step 3: Submit Results"):
@@ -517,7 +517,7 @@ with gr.Blocks(title="Intelligent Agent with Conditional Search") as demo:
517
  # Auto-refresh progress every 5 seconds when generation is active
518
  demo.load(
519
  fn=get_generation_progress,
520
- outputs=[generation_status, answers_preview]
521
  )
522
 
523
  if __name__ == "__main__":
 
489
  generate_btn.click(
490
  fn=start_answer_generation,
491
  inputs=[model_choice],
492
+ outputs=[generation_status]
493
  )
494
 
495
  refresh_btn.click(
496
  fn=get_generation_progress,
497
+ outputs=[generation_status]
498
  )
499
 
500
  with gr.Tab("Step 3: Submit Results"):
 
517
  # Auto-refresh progress every 5 seconds when generation is active
518
  demo.load(
519
  fn=get_generation_progress,
520
+ outputs=[generation_status]
521
  )
522
 
523
  if __name__ == "__main__":