pszemraj commited on
Commit
0f6a513
1 Parent(s): 35ee121

remove batching

Browse files

Signed-off-by: peter szemraj <[email protected]>

Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -231,12 +231,11 @@ with gr.Blocks(theme=theme, analytics_enabled=False, css=_styles) as demo:
231
  ],
232
  outputs=[output],
233
  # preprocess=False,
234
- max_batch_size=2,
235
  show_progress=True,
236
  )
237
 
238
  demo.queue(max_size=10).launch(
239
  debug=True,
240
  server_port=DEFAULT_PORT,
241
- max_threads=utils.get_workers(),
242
  )
 
231
  ],
232
  outputs=[output],
233
  # preprocess=False,
234
+ batch=False,
235
  show_progress=True,
236
  )
237
 
238
  demo.queue(max_size=10).launch(
239
  debug=True,
240
  server_port=DEFAULT_PORT,
 
241
  )