Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,8 @@ import gradio as gr
|
|
2 |
import time
|
3 |
|
4 |
def update_options(selected_option):
|
5 |
-
new_options = 'Something '+selected_option
|
|
|
6 |
return new_options # Return current selection to persist it in the first dropdown
|
7 |
|
8 |
with gr.Blocks() as interface:
|
|
|
2 |
import time
|
3 |
|
4 |
def update_options(selected_option):
|
5 |
+
# new_options = 'Something '+ selected_option
|
6 |
+
new_options = [selected_option + str(x) for x in range(1, 4)]
|
7 |
return new_options # Return current selection to persist it in the first dropdown
|
8 |
|
9 |
with gr.Blocks() as interface:
|