Update app.py
Browse files
app.py
CHANGED
@@ -13,6 +13,11 @@ def greet(name):
|
|
13 |
r = client.submit(name=name, api_name="/predict")
|
14 |
return r.result()
|
15 |
|
16 |
-
demo = gr.Interface(fn=greet_para, inputs=gr.
|
|
|
|
|
|
|
|
|
|
|
17 |
demo.launch()
|
18 |
|
|
|
13 |
r = client.submit(name=name, api_name="/predict")
|
14 |
return r.result()
|
15 |
|
16 |
+
demo = gr.Interface(fn=greet_para, inputs=gr.TextArea("""aaa
|
17 |
+
bbb
|
18 |
+
ccc
|
19 |
+
ddd
|
20 |
+
eee
|
21 |
+
"""), outputs="json")
|
22 |
demo.launch()
|
23 |
|