clr commited on
Commit
93555f9
·
1 Parent(s): 5196df2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -18,10 +18,11 @@ def show_ex(exnum):
18
 
19
  bl = gr.Blocks()
20
  with bl:
21
- text_button = gr.Button("Run")
22
  text_output = gr.Textbox()
 
23
 
24
- text_button.click(show_ex, inputs=2503, outputs=text_output)
25
 
26
 
27
  #https://mercury-docs.readthedocs.io/en/latest/deploy/hugging-face-spaces/
 
18
 
19
  bl = gr.Blocks()
20
  with bl:
21
+ text_input = gr.Textbox()
22
  text_output = gr.Textbox()
23
+ text_button = gr.Button("Run")
24
 
25
+ text_button.click(show_ex, inputs=text_input, outputs=text_output)
26
 
27
 
28
  #https://mercury-docs.readthedocs.io/en/latest/deploy/hugging-face-spaces/