benibraz commited on
Commit
ccc25b7
·
1 Parent(s): 520e8b2

Limit number of images per prompt to 1 in video generation function

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -272,7 +272,7 @@ def generate_video_from_image(
272
 
273
  images = pipeline(
274
  num_inference_steps=num_inference_steps,
275
- num_images_per_prompt=num_images_per_prompt,
276
  guidance_scale=guidance_scale,
277
  generator=generator,
278
  output_type="pt",
 
272
 
273
  images = pipeline(
274
  num_inference_steps=num_inference_steps,
275
+ num_images_per_prompt=1,
276
  guidance_scale=guidance_scale,
277
  generator=generator,
278
  output_type="pt",