Renecto commited on
Commit
10a8eaf
·
verified ·
1 Parent(s): 9a80d30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,5 +25,5 @@ def greet(num):
25
  results = list(executor.map(grand_para, params))
26
  return results
27
 
28
- demo = gr.Interface(fn=greet, inputs="number", outputs="text", concurrency_limit=5)
29
  demo.launch()
 
25
  results = list(executor.map(grand_para, params))
26
  return results
27
 
28
+ demo = gr.Interface(fn=greet, inputs=gr.number(3), outputs="json", concurrency_limit=5)
29
  demo.launch()