SFP commited on
Commit
b188fbd
1 Parent(s): b263642

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,9 +1,10 @@
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()
 
1
  import gradio as gr
2
+ import main
3
  def update(name):
4
  return f"liven"
5
 
6
  with gr.Blocks() as demo:
7
  btn = gr.Button("keep alive")
8
+ btn.click(fn=update)
9
 
10
  demo.launch()