Spaces:
Runtime error
Runtime error
text_1 = gr.Textbox(name="Text 1")
Browse files
app.py
CHANGED
|
@@ -8,8 +8,9 @@ def echo(text, request: gr.Request):
|
|
| 8 |
return text
|
| 9 |
|
| 10 |
with gr.Blocks() as demo:
|
| 11 |
-
|
| 12 |
-
|
|
|
|
| 13 |
|
| 14 |
|
| 15 |
demo.load("echo", echo, inputs=text_1, outputs=text_2)
|
|
|
|
| 8 |
return text
|
| 9 |
|
| 10 |
with gr.Blocks() as demo:
|
| 11 |
+
|
| 12 |
+
text_1 = gr.Textbox(name="Text 1")
|
| 13 |
+
text_2 = gr.Textbox(name="Text 2")
|
| 14 |
|
| 15 |
|
| 16 |
demo.load("echo", echo, inputs=text_1, outputs=text_2)
|