Spaces:
Running
on
Zero
Running
on
Zero
Long Queue and Not using all GPU problem Solved.
#2
by
KingNish
- opened
app.py
CHANGED
|
@@ -304,6 +304,8 @@ with gr.Blocks() as demo:
|
|
| 304 |
generate,
|
| 305 |
inputs=[prompt, seed_param, enable_scale, enable_rife],
|
| 306 |
outputs=[video_output, download_video_button, download_gif_button, seed_text],
|
|
|
|
|
|
|
| 307 |
)
|
| 308 |
|
| 309 |
enhance_button.click(enhance_prompt_func, inputs=[prompt], outputs=[prompt])
|
|
|
|
| 304 |
generate,
|
| 305 |
inputs=[prompt, seed_param, enable_scale, enable_rife],
|
| 306 |
outputs=[video_output, download_video_button, download_gif_button, seed_text],
|
| 307 |
+
concurrency_limit=8,
|
| 308 |
+
queue=False,
|
| 309 |
)
|
| 310 |
|
| 311 |
enhance_button.click(enhance_prompt_func, inputs=[prompt], outputs=[prompt])
|