Abid Ali Awan commited on
Commit
bbf5238
1 Parent(s): 3076e83

batch size and cocurrency added

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -75,6 +75,8 @@ demo = gr.Interface(
75
  outputs="text",
76
  live=True,
77
  batch=True,
 
 
78
  allow_flagging="never",
79
  theme=gr.themes.Soft(),
80
  )
 
75
  outputs="text",
76
  live=True,
77
  batch=True,
78
+ max_batch_size=10000,
79
+ concurrency_limit=16,
80
  allow_flagging="never",
81
  theme=gr.themes.Soft(),
82
  )