Spaces:
Paused
Paused
Update app.py
Browse files
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(
|
|
|
|
| 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( )
|