Spaces:
Running
Running
Switched to default_concurrency_limit, and set to 20
Browse files
app.py
CHANGED
@@ -722,7 +722,6 @@ with gr.Blocks(css=css, theme=gr.themes.Soft(primary_hue="indigo", neutral_hue="
|
|
722 |
fn=check_inputs,
|
723 |
inputs=[subject, image_input, selected_index],
|
724 |
outputs=None,
|
725 |
-
concurrency_limit=None
|
726 |
).success(
|
727 |
fn=handle_generation,
|
728 |
inputs=[image_input, subject, duration, selected_index],
|
@@ -737,5 +736,5 @@ with gr.Blocks(css=css, theme=gr.themes.Soft(primary_hue="indigo", neutral_hue="
|
|
737 |
)
|
738 |
|
739 |
if __name__ == "__main__":
|
740 |
-
demo.queue(default_concurrency_limit=
|
741 |
demo.launch()
|
|
|
722 |
fn=check_inputs,
|
723 |
inputs=[subject, image_input, selected_index],
|
724 |
outputs=None,
|
|
|
725 |
).success(
|
726 |
fn=handle_generation,
|
727 |
inputs=[image_input, subject, duration, selected_index],
|
|
|
736 |
)
|
737 |
|
738 |
if __name__ == "__main__":
|
739 |
+
demo.queue(default_concurrency_limit=20)
|
740 |
demo.launch()
|