Spaces:
Running
on
A100
Running
on
A100
Limit number of images per prompt to 1 in video generation function
Browse files
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=
|
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",
|