Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,15 +12,14 @@ def echo(text, text2, request: gr.Request):
|
|
12 |
print(text,text2)
|
13 |
return text+text2
|
14 |
|
15 |
-
# Define the inputs and outputs for your interface
|
16 |
-
inputs = [
|
17 |
-
gr.inputs.Textbox(lines=2, placeholder="Enter your message here..."),
|
18 |
-
gr.inputs.Textbox(lines=2, placeholder="Enter additional parameter here...")
|
19 |
-
]
|
20 |
-
outputs = gr.outputs.Textbox()
|
21 |
|
22 |
-
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
-
|
26 |
-
|
|
|
12 |
print(text,text2)
|
13 |
return text+text2
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
+
demo = gr.Interface(
|
17 |
+
echo,
|
18 |
+
[
|
19 |
+
"textbox",
|
20 |
+
"textbox"
|
21 |
+
]
|
22 |
+
)
|
23 |
|
24 |
+
|
25 |
+
demo.launch()
|