Jayabalambika commited on
Commit
293c94b
·
verified ·
1 Parent(s): 398e425

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -94,7 +94,7 @@ with gr.Blocks() as app:
94
  def show_selection(choice):
95
  return f"You selected: {choice}"
96
 
97
- name.change(show_selection, inputs=[dropdown], outputs=[output])
98
 
99
  day = gr.Textbox(label="Day")
100
  date = gr.Textbox(label="Date (YYYY-MM-DD)")
 
94
  def show_selection(choice):
95
  return f"You selected: {choice}"
96
 
97
+ name.change(show_selection, inputs=[name], outputs=[output])
98
 
99
  day = gr.Textbox(label="Day")
100
  date = gr.Textbox(label="Date (YYYY-MM-DD)")