Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ with gr.Blocks() as interface:
|
|
53 |
|
54 |
with gr.Row():
|
55 |
output_type = gr.Dropdown(choices=["Excel", "JSON", "TXT"], label="Select Output Format", value="Excel")
|
56 |
-
download_button = gr.Button("⬇️ Download Output")
|
57 |
#download_file = gr.File(label="Download File Here",visible=False)
|
58 |
download_file = gr.File(label="Download File Here", visible=False, interactive=True)
|
59 |
progress_box = gr.Textbox(label="Live Processing Log", lines=20, interactive=False)
|
@@ -466,11 +466,11 @@ with gr.Blocks() as interface:
|
|
466 |
outputs=[raw_text, file_upload, output_table, status, results_group, usage_display, progress_box]
|
467 |
)
|
468 |
|
469 |
-
download_button.click(
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
|
475 |
# submit_feedback.click(
|
476 |
# fn=mtdna_backend.store_feedback_to_google_sheets,
|
|
|
53 |
|
54 |
with gr.Row():
|
55 |
output_type = gr.Dropdown(choices=["Excel", "JSON", "TXT"], label="Select Output Format", value="Excel")
|
56 |
+
#download_button = gr.Button("⬇️ Download Output")
|
57 |
#download_file = gr.File(label="Download File Here",visible=False)
|
58 |
download_file = gr.File(label="Download File Here", visible=False, interactive=True)
|
59 |
progress_box = gr.Textbox(label="Live Processing Log", lines=20, interactive=False)
|
|
|
466 |
outputs=[raw_text, file_upload, output_table, status, results_group, usage_display, progress_box]
|
467 |
)
|
468 |
|
469 |
+
# download_button.click(
|
470 |
+
# fn=mtdna_backend.save_batch_output,
|
471 |
+
# #inputs=[output_table, output_summary, output_flag, output_type],
|
472 |
+
# inputs=[output_table, output_type],
|
473 |
+
# outputs=[download_file])
|
474 |
|
475 |
# submit_feedback.click(
|
476 |
# fn=mtdna_backend.store_feedback_to_google_sheets,
|