harishB97 commited on
Commit
186a70c
·
verified ·
1 Parent(s): fbbe9b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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: