mohammad2928git commited on
Commit
4cf53d1
·
verified ·
1 Parent(s): 304bdae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -14,4 +14,5 @@ with gr.Blocks() as demo:
14
  with gr.Column(scale=2):
15
  out_text = gr.Text(lines=15, label="Output", scale=2)
16
  btn1.click(fn=greet, inputs=text1, outputs=out_text)
 
17
  demo.launch()
 
14
  with gr.Column(scale=2):
15
  out_text = gr.Text(lines=15, label="Output", scale=2)
16
  btn1.click(fn=greet, inputs=text1, outputs=out_text)
17
+ btn2.click(lambda: [None, None], outputs=[text1, out_text])
18
  demo.launch()