rwheel commited on
Commit
ddde779
·
1 Parent(s): 79ca53f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ with gr.Blocks() as demo:
8
  inp = gr.Textbox(placeholder="What is your name?")
9
  out = gr.Textbox()
10
  btn = gr.Button("Run")
11
- btn.click(fn=update, inputs=inp, outputs=out)
12
 
13
  demo.launch()
14
  #demo.launch(auth=("admin", "1234"))
 
8
  inp = gr.Textbox(placeholder="What is your name?")
9
  out = gr.Textbox()
10
  btn = gr.Button("Run")
11
+ btn.click(fn=update, inputs=inp, outputs=out, api_name="hello")
12
 
13
  demo.launch()
14
  #demo.launch(auth=("admin", "1234"))