Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
e9d4dcd
1
Parent(s):
f83c3fd
Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,6 @@ with gr.Blocks() as demo:
|
|
12 |
btn.click(fn=lambda x: x, inputs=text, outputs=out, api_name='run')
|
13 |
btn2.click(fn=lambda x: "hello", inputs=text, outputs=out, api_name='say_hello')
|
14 |
text.change(fn=lambda x: x, inputs=text, outputs=out, api_name=False)
|
15 |
-
|
16 |
|
17 |
demo.queue().launch()
|
|
|
12 |
btn.click(fn=lambda x: x, inputs=text, outputs=out, api_name='run')
|
13 |
btn2.click(fn=lambda x: "hello", inputs=text, outputs=out, api_name='say_hello')
|
14 |
text.change(fn=lambda x: x, inputs=text, outputs=out, api_name=False)
|
15 |
+
btn3.click(fn=lambda x: "42", inputs=text, outputs=out, api_name='')
|
16 |
|
17 |
demo.queue().launch()
|