bwbai commited on
Commit
e15a578
·
1 Parent(s): 651c0e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -45,5 +45,7 @@ with gr.Blocks() as demo:
45
  infile = gr.File()
46
  text = gr.TextArea()
47
 
 
 
48
 
49
- demo.launch(dothis, infile, text )
 
45
  infile = gr.File()
46
  text = gr.TextArea()
47
 
48
+ btn = gr.Button("Run")
49
+ btn.click(fn=dothis, inputs=infile, outputs=text)
50
 
51
+ demo.launch( )