Spaces:
Sleeping
Sleeping
umyuu
commited on
Commit
·
d2f0d15
1
Parent(s):
f3a2a80
Fix Attempted to select a non-interactive or hidden tab.
Browse files
app.py
CHANGED
@@ -153,11 +153,11 @@ with gr.Blocks(
|
|
153 |
interactive=True
|
154 |
)
|
155 |
submit_button = gr.Button("submit", variant="primary")
|
156 |
-
with gr.Tab("input"):
|
157 |
image_input = gr.Image(label="input", show_label=True, sources=["upload", "clipboard"])
|
158 |
-
with gr.Tab("overlay(JET)"):
|
159 |
image_overlay_jet = gr.Image(label="jet", show_label=True, interactive=False)
|
160 |
-
with gr.Tab("overlay(HOT)"):
|
161 |
image_overlay_hot = gr.Image(label="hot", show_label=True, interactive=False)
|
162 |
|
163 |
#
|
|
|
153 |
interactive=True
|
154 |
)
|
155 |
submit_button = gr.Button("submit", variant="primary")
|
156 |
+
with gr.Tab("input", elem_id="input_tab"):
|
157 |
image_input = gr.Image(label="input", show_label=True, sources=["upload", "clipboard"])
|
158 |
+
with gr.Tab("overlay(JET)", elem_id="jet_tab"):
|
159 |
image_overlay_jet = gr.Image(label="jet", show_label=True, interactive=False)
|
160 |
+
with gr.Tab("overlay(HOT)", elem_id="hot_tab"):
|
161 |
image_overlay_hot = gr.Image(label="hot", show_label=True, interactive=False)
|
162 |
|
163 |
#
|