Spaces:
Sleeping
Sleeping
remove batching
Browse filesSigned-off-by: peter szemraj <[email protected]>
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 |
-
|
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 |
)
|