Renecto commited on
Commit
f632c1f
1 Parent(s): 25c1d65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
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.textAArea(), outputs="json")
 
 
 
 
 
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