ford442 commited on
Commit
fe6bb2b
1 Parent(s): af2936b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -267,7 +267,7 @@ def generate_video_from_text_90(
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,
 
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,