Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -563,10 +563,6 @@ with gr.Blocks(css="""
|
|
563 |
# Tab for Beam Prediction Task
|
564 |
with gr.Tab("Beam Prediction Task"):
|
565 |
#gr.Markdown("### Beam Prediction Task")
|
566 |
-
gr.HTML(detect_theme_js)
|
567 |
-
|
568 |
-
# Hidden textbox to store the detected theme
|
569 |
-
theme_output = gr.Textbox(label="Theme", value="light", visible=False, interactive=False) # Hidden by default
|
570 |
|
571 |
# Explanation section with creative spacing and minimal design
|
572 |
gr.Markdown("""
|
@@ -590,6 +586,11 @@ with gr.Blocks(css="""
|
|
590 |
with gr.Column():
|
591 |
data_percentage_slider = gr.Slider(label="Data Percentage for Training", minimum=10, maximum=100, step=10, value=10)
|
592 |
task_complexity_dropdown = gr.Dropdown(label="Task Complexity (Number of Beams)", choices=[16, 32, 64, 128, 256], value=16)
|
|
|
|
|
|
|
|
|
|
|
593 |
|
594 |
with gr.Row():
|
595 |
raw_img_bp = gr.Image(label="Raw Channels", type="pil", width=300, height=500)
|
|
|
563 |
# Tab for Beam Prediction Task
|
564 |
with gr.Tab("Beam Prediction Task"):
|
565 |
#gr.Markdown("### Beam Prediction Task")
|
|
|
|
|
|
|
|
|
566 |
|
567 |
# Explanation section with creative spacing and minimal design
|
568 |
gr.Markdown("""
|
|
|
586 |
with gr.Column():
|
587 |
data_percentage_slider = gr.Slider(label="Data Percentage for Training", minimum=10, maximum=100, step=10, value=10)
|
588 |
task_complexity_dropdown = gr.Dropdown(label="Task Complexity (Number of Beams)", choices=[16, 32, 64, 128, 256], value=16)
|
589 |
+
|
590 |
+
gr.HTML(detect_theme_js)
|
591 |
+
|
592 |
+
# Hidden textbox to store the detected theme
|
593 |
+
theme_output = gr.Textbox(label="Theme", value="light", visible=False, interactive=False) # Hidden by default
|
594 |
|
595 |
with gr.Row():
|
596 |
raw_img_bp = gr.Image(label="Raw Channels", type="pil", width=300, height=500)
|