youngtsai commited on
Commit
c4e39e2
·
1 Parent(s): 3b20b1c

text_1 = gr.Textbox(name="Text 1")

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -8,8 +8,9 @@ def echo(text, request: gr.Request):
8
  return text
9
 
10
  with gr.Blocks() as demo:
11
- text_1 = demo.Textbox(name="Text 1")
12
- text_2 = demo.Textbox(name="Text 2")
 
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)