Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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()
|