rianders commited on
Commit
9a2535f
·
1 Parent(s): 23b7511

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ def update_list(current_list, _):
5
  current_list = []
6
  new_item = f"Item {len(current_list) + 1}" # Dynamically generating new items
7
  current_list.append(new_item)
8
- return current_list
9
 
10
  with gr.Blocks() as demo:
11
  with gr.Row():
 
5
  current_list = []
6
  new_item = f"Item {len(current_list) + 1}" # Dynamically generating new items
7
  current_list.append(new_item)
8
+ return current_list, current_list
9
 
10
  with gr.Blocks() as demo:
11
  with gr.Row():