Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -140,7 +140,7 @@ with gr.Blocks() as demo:
|
|
140 |
|
141 |
# Visibility logic function
|
142 |
def toggle_visibility(checked):
|
143 |
-
return
|
144 |
|
145 |
def toggle_det_visibility(checked):
|
146 |
return [gr.update(visible=checked), gr.update(visible=checked)]
|
|
|
140 |
|
141 |
# Visibility logic function
|
142 |
def toggle_visibility(checked):
|
143 |
+
return gr.update(visible=checked)
|
144 |
|
145 |
def toggle_det_visibility(checked):
|
146 |
return [gr.update(visible=checked), gr.update(visible=checked)]
|