Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,11 +16,11 @@ with gr.Blocks() as demo:
|
|
16 |
|
17 |
d1.input(update_second, d1, d2)
|
18 |
|
19 |
-
outputs = gr.Textbox()
|
20 |
|
21 |
-
def print_results(option_1, option_2):
|
22 |
-
return f"You selected '{option_1}' in the first dropdown and '{option_2}' in the second dropdown."
|
23 |
|
24 |
-
d2.input(print_results, [d1, d2], outputs)
|
25 |
|
26 |
demo.launch()
|
|
|
16 |
|
17 |
d1.input(update_second, d1, d2)
|
18 |
|
19 |
+
#outputs = gr.Textbox()
|
20 |
|
21 |
+
#def print_results(option_1, option_2):
|
22 |
+
#return f"You selected '{option_1}' in the first dropdown and '{option_2}' in the second dropdown."
|
23 |
|
24 |
+
#d2.input(print_results, [d1, d2], outputs)
|
25 |
|
26 |
demo.launch()
|