Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -155,6 +155,7 @@ css = """
|
|
155 |
border-color: white !important;
|
156 |
box-shadow: 0 0 5px white inset;
|
157 |
}
|
|
|
158 |
|
159 |
with gr.Blocks() as interface:
|
160 |
# with gr.Tab("CURIOUS ABOUT THIS PRODUCT?"):
|
@@ -685,7 +686,10 @@ with gr.Blocks() as interface:
|
|
685 |
warning = f"⚠️ Only processing first {limited_acc} accessions."
|
686 |
else:
|
687 |
warning = f"✅ All {total} accessions will be processed."
|
688 |
-
|
|
|
|
|
|
|
689 |
### NEW: Hide inputs, show processed_info at start
|
690 |
yield (
|
691 |
make_html_table(all_rows), # output_table
|
|
|
155 |
border-color: white !important;
|
156 |
box-shadow: 0 0 5px white inset;
|
157 |
}
|
158 |
+
"""
|
159 |
|
160 |
with gr.Blocks() as interface:
|
161 |
# with gr.Tab("CURIOUS ABOUT THIS PRODUCT?"):
|
|
|
686 |
warning = f"⚠️ Only processing first {limited_acc} accessions."
|
687 |
else:
|
688 |
warning = f"✅ All {total} accessions will be processed."
|
689 |
+
if len(accessions) == 1:
|
690 |
+
processed_info = warning + "\n" +f"Processed accessions: {accessions[0]}"
|
691 |
+
else:
|
692 |
+
processed_info = warning + "\n" +f"Processed accessions: {accessions[0]}...{accessions[-1]}"
|
693 |
### NEW: Hide inputs, show processed_info at start
|
694 |
yield (
|
695 |
make_html_table(all_rows), # output_table
|