Update app.py
Browse files
app.py
CHANGED
|
@@ -18,10 +18,11 @@ def show_ex(exnum):
|
|
| 18 |
|
| 19 |
bl = gr.Blocks()
|
| 20 |
with bl:
|
| 21 |
-
|
| 22 |
text_output = gr.Textbox()
|
|
|
|
| 23 |
|
| 24 |
-
text_button.click(show_ex, inputs=
|
| 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/
|