anferico commited on
Commit
e26ca46
·
1 Parent(s): cc5f090

second commit

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def enable_second_task(secret):
12
  return gr.Textbox.update(visible=False)
13
 
14
  submit_button = gr.Button("Submit")
15
- submit_button.click(lambda secret: secret == "lol", textbox, textbox)
16
 
17
 
18
  iface = gr.Interface(fn=greet, inputs=[textbox], outputs="text")
 
12
  return gr.Textbox.update(visible=False)
13
 
14
  submit_button = gr.Button("Submit")
15
+ submit_button.click(enable_second_task, textbox, textbox)
16
 
17
 
18
  iface = gr.Interface(fn=greet, inputs=[textbox], outputs="text")