SFP commited on
Commit
e61bae3
1 Parent(s): 23c61f4

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ def update(name):
3
+ return f"liven"
4
+
5
+ with gr.Blocks() as demo:
6
+ btn = gr.Button("keep alive")
7
+ btn.click(fn=update, inputs=inp, outputs=out)
8
+
9
+ demo.launch()