Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -329,11 +329,9 @@ with gr.Blocks(theme=gr.themes.Soft(), title="🧬 The Genomic Oracle 🧬", css
|
|
| 329 |
outputs=[mapping_section]
|
| 330 |
)
|
| 331 |
|
|
|
|
| 332 |
submit_btn.click(
|
| 333 |
-
fn=
|
| 334 |
-
*gradio_inference(seq, map_flag)[:3],
|
| 335 |
-
gr.Textbox(visible=True) if map_flag else gr.Textbox(visible=False)
|
| 336 |
-
),
|
| 337 |
inputs=[dna_input, run_mapping_cb],
|
| 338 |
outputs=[output_summary, stats_panel, context_output, info_box]
|
| 339 |
)
|
|
|
|
| 329 |
outputs=[mapping_section]
|
| 330 |
)
|
| 331 |
|
| 332 |
+
# 🚨 Pinned directly to the generator function to allow live-streaming!
|
| 333 |
submit_btn.click(
|
| 334 |
+
fn=gradio_inference,
|
|
|
|
|
|
|
|
|
|
| 335 |
inputs=[dna_input, run_mapping_cb],
|
| 336 |
outputs=[output_summary, stats_panel, context_output, info_box]
|
| 337 |
)
|