Update app.py
Browse files
app.py
CHANGED
@@ -267,7 +267,7 @@ def generate_video_from_text_90(
|
|
267 |
progress((step + 1) / num_inference_steps)
|
268 |
|
269 |
try:
|
270 |
-
|
271 |
images = pipeline(
|
272 |
num_inference_steps=num_inference_steps,
|
273 |
num_images_per_prompt=1,
|
|
|
267 |
progress((step + 1) / num_inference_steps)
|
268 |
|
269 |
try:
|
270 |
+
with torch.no_grad():
|
271 |
images = pipeline(
|
272 |
num_inference_steps=num_inference_steps,
|
273 |
num_images_per_prompt=1,
|