Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -214,8 +214,8 @@ with gr.Blocks() as demo:
|
|
| 214 |
output_quality,
|
| 215 |
],
|
| 216 |
outputs=output_video,
|
| 217 |
-
cache_examples=
|
| 218 |
-
|
| 219 |
)
|
| 220 |
|
| 221 |
generate_btn.click(
|
|
@@ -234,4 +234,4 @@ with gr.Blocks() as demo:
|
|
| 234 |
)
|
| 235 |
|
| 236 |
if __name__ == "__main__":
|
| 237 |
-
demo.launch(ssr_mode=False, show_error=True, show_api=False)
|
|
|
|
| 214 |
output_quality,
|
| 215 |
],
|
| 216 |
outputs=output_video,
|
| 217 |
+
cache_examples=False,
|
| 218 |
+
# cache_mode="lazy"
|
| 219 |
)
|
| 220 |
|
| 221 |
generate_btn.click(
|
|
|
|
| 234 |
)
|
| 235 |
|
| 236 |
if __name__ == "__main__":
|
| 237 |
+
demo.queue().launch(ssr_mode=False, show_error=True, show_api=False)
|