Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ with gr.Blocks() as demo:
|
|
8 |
if show_box:
|
9 |
textbox = gr.Textbox()
|
10 |
textbox2 = gr.Textbox()
|
11 |
-
textbox.
|
12 |
else:
|
13 |
gr.Markdown("Hidden textbox")
|
14 |
|
|
|
8 |
if show_box:
|
9 |
textbox = gr.Textbox()
|
10 |
textbox2 = gr.Textbox()
|
11 |
+
textbox.change(lambda x:x, textbox, textbox2)
|
12 |
else:
|
13 |
gr.Markdown("Hidden textbox")
|
14 |
|