Update app.py
Browse files
app.py
CHANGED
@@ -44,9 +44,8 @@ with gr.Blocks() as demo:
|
|
44 |
text = gr.Textbox(label="This text only shows when 'show' is selected.", visible=False)
|
45 |
|
46 |
|
47 |
-
|
48 |
# Update visibility based on user choice
|
49 |
-
def update_visibility(event=None):
|
50 |
value = dataset_choice.value # Get the selected value from the radio button
|
51 |
|
52 |
if value == "Predefined Dataset":
|
|
|
44 |
text = gr.Textbox(label="This text only shows when 'show' is selected.", visible=False)
|
45 |
|
46 |
|
|
|
47 |
# Update visibility based on user choice
|
48 |
+
def update_visibility(event=None):
|
49 |
value = dataset_choice.value # Get the selected value from the radio button
|
50 |
|
51 |
if value == "Predefined Dataset":
|