Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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,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
|
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__":
|