Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -255,14 +255,14 @@ with gr.Blocks(theme=gr.themes.Soft(), title="𧬠The Genomic Oracle π§¬") as
|
|
| 255 |
)
|
| 256 |
|
| 257 |
with gr.Row():
|
| 258 |
-
#
|
| 259 |
with gr.Column(scale=1):
|
| 260 |
dna_input = gr.Textbox(label="Enter DNA Sequence", placeholder="e.g., ATGCGATCGATCGATCG...", lines=10)
|
| 261 |
run_mapping_cb = gr.Checkbox(value=False, label="Query NCBI BLAST for spatial mapping (Takes 1β3 mins)")
|
| 262 |
# π¨ Changed variant="primary" to variant="stop" for a striking red button
|
| 263 |
-
submit_btn = gr.Button("π Initialize Deep Scan", variant="stop")
|
| 264 |
|
| 265 |
-
#
|
| 266 |
with gr.Column(scale=1):
|
| 267 |
output_summary = gr.Textbox(label=" Classification Summary", lines=4)
|
| 268 |
stats_panel = gr.Textbox(label=" Internal Pipeline Statistics", lines=4)
|
|
|
|
| 255 |
)
|
| 256 |
|
| 257 |
with gr.Row():
|
| 258 |
+
# width of textbox: Both columns are now scale=1, giving you a perfect 50/50 split!
|
| 259 |
with gr.Column(scale=1):
|
| 260 |
dna_input = gr.Textbox(label="Enter DNA Sequence", placeholder="e.g., ATGCGATCGATCGATCG...", lines=10)
|
| 261 |
run_mapping_cb = gr.Checkbox(value=False, label="Query NCBI BLAST for spatial mapping (Takes 1β3 mins)")
|
| 262 |
# π¨ Changed variant="primary" to variant="stop" for a striking red button
|
| 263 |
+
submit_btn = gr.Button("π Initialize Deep Scan", variant={"secondary", "stop"})
|
| 264 |
|
| 265 |
+
# width of textbox: Changed from scale=2 to scale=1
|
| 266 |
with gr.Column(scale=1):
|
| 267 |
output_summary = gr.Textbox(label=" Classification Summary", lines=4)
|
| 268 |
stats_panel = gr.Textbox(label=" Internal Pipeline Statistics", lines=4)
|