Spaces:
No application file
No application file
Update app.py
Browse files
app.py
CHANGED
|
@@ -776,7 +776,7 @@ def create_gradio_interface():
|
|
| 776 |
# Parameters
|
| 777 |
gr.Markdown("### Parameters")
|
| 778 |
similarity_threshold = gr.Slider(
|
| 779 |
-
minimum=
|
| 780 |
maximum=99,
|
| 781 |
value=95,
|
| 782 |
step=1,
|
|
@@ -831,7 +831,13 @@ def create_gradio_interface():
|
|
| 831 |
elem_classes=["output-html"]
|
| 832 |
)
|
| 833 |
|
| 834 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 835 |
|
| 836 |
with gr.Tab("Download Files"):
|
| 837 |
tree_file = gr.File(
|
|
@@ -844,7 +850,7 @@ def create_gradio_interface():
|
|
| 844 |
interactive=False
|
| 845 |
)
|
| 846 |
|
| 847 |
-
|
| 848 |
# Event handlers
|
| 849 |
def run_analysis(dna_seq, similarity, build_ml):
|
| 850 |
"""Main analysis function"""
|
|
|
|
| 776 |
# Parameters
|
| 777 |
gr.Markdown("### Parameters")
|
| 778 |
similarity_threshold = gr.Slider(
|
| 779 |
+
minimum=50,
|
| 780 |
maximum=99,
|
| 781 |
value=95,
|
| 782 |
step=1,
|
|
|
|
| 831 |
elem_classes=["output-html"]
|
| 832 |
)
|
| 833 |
|
| 834 |
+
with gr.Tab("Sequence Output"):
|
| 835 |
+
extracted_sequence = gr.Textbox(
|
| 836 |
+
label="Extracted F Gene Sequence",
|
| 837 |
+
lines=10,
|
| 838 |
+
interactive=False,
|
| 839 |
+
info="The F gene sequence extracted by the boundary model"
|
| 840 |
+
)
|
| 841 |
|
| 842 |
with gr.Tab("Download Files"):
|
| 843 |
tree_file = gr.File(
|
|
|
|
| 850 |
interactive=False
|
| 851 |
)
|
| 852 |
|
| 853 |
+
|
| 854 |
# Event handlers
|
| 855 |
def run_analysis(dna_seq, similarity, build_ml):
|
| 856 |
"""Main analysis function"""
|