Update app.py
Browse files
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=gr.
|
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()
|