Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -122,6 +122,8 @@ def generate_video(
|
|
122 |
Args:
|
123 |
input_image (PIL.Image): The input image to animate. Will be resized to target dimensions.
|
124 |
prompt (str): Text prompt describing the desired animation or motion.
|
|
|
|
|
125 |
negative_prompt (str, optional): Negative prompt to avoid unwanted elements.
|
126 |
Defaults to default_negative_prompt (contains unwanted visual artifacts).
|
127 |
duration_seconds (float, optional): Duration of the generated video in seconds.
|
@@ -130,8 +132,6 @@ def generate_video(
|
|
130 |
Defaults to 1.0. Range: 0.0-20.0.
|
131 |
guidance_scale_2 (float, optional): Controls adherence to the prompt. Higher values = more adherence.
|
132 |
Defaults to 1.0. Range: 0.0-20.0.
|
133 |
-
steps (int, optional): Number of inference steps. More steps = higher quality but slower.
|
134 |
-
Defaults to 4. Range: 1-30.
|
135 |
seed (int, optional): Random seed for reproducible results. Defaults to 42.
|
136 |
Range: 0 to MAX_SEED (2147483647).
|
137 |
randomize_seed (bool, optional): Whether to use a random seed instead of the provided seed.
|
|
|
122 |
Args:
|
123 |
input_image (PIL.Image): The input image to animate. Will be resized to target dimensions.
|
124 |
prompt (str): Text prompt describing the desired animation or motion.
|
125 |
+
steps (int, optional): Number of inference steps. More steps = higher quality but slower.
|
126 |
+
Defaults to 4. Range: 1-30.
|
127 |
negative_prompt (str, optional): Negative prompt to avoid unwanted elements.
|
128 |
Defaults to default_negative_prompt (contains unwanted visual artifacts).
|
129 |
duration_seconds (float, optional): Duration of the generated video in seconds.
|
|
|
132 |
Defaults to 1.0. Range: 0.0-20.0.
|
133 |
guidance_scale_2 (float, optional): Controls adherence to the prompt. Higher values = more adherence.
|
134 |
Defaults to 1.0. Range: 0.0-20.0.
|
|
|
|
|
135 |
seed (int, optional): Random seed for reproducible results. Defaults to 42.
|
136 |
Range: 0 to MAX_SEED (2147483647).
|
137 |
randomize_seed (bool, optional): Whether to use a random seed instead of the provided seed.
|