Spaces:
Running
Running
Reduce default number of inference steps from 40 to 30 for improved performance
Browse files
app.py
CHANGED
@@ -208,7 +208,7 @@ def generate_video_from_text(
|
|
208 |
negative_prompt="",
|
209 |
frame_rate=25,
|
210 |
seed=171198,
|
211 |
-
num_inference_steps=
|
212 |
guidance_scale=3,
|
213 |
height=512,
|
214 |
width=768,
|
@@ -289,7 +289,7 @@ def generate_video_from_image(
|
|
289 |
negative_prompt="",
|
290 |
frame_rate=25,
|
291 |
seed=171198,
|
292 |
-
num_inference_steps=
|
293 |
guidance_scale=3,
|
294 |
height=512,
|
295 |
width=768,
|
@@ -378,7 +378,7 @@ def create_advanced_options():
|
|
378 |
label="4.1 Seed", minimum=0, maximum=1000000, step=1, value=171198
|
379 |
)
|
380 |
inference_steps = gr.Slider(
|
381 |
-
label="4.2 Inference Steps", minimum=1, maximum=
|
382 |
)
|
383 |
guidance_scale = gr.Slider(
|
384 |
label="4.3 Guidance Scale", minimum=1.0, maximum=5.0, step=0.1, value=3.0
|
|
|
208 |
negative_prompt="",
|
209 |
frame_rate=25,
|
210 |
seed=171198,
|
211 |
+
num_inference_steps=30,
|
212 |
guidance_scale=3,
|
213 |
height=512,
|
214 |
width=768,
|
|
|
289 |
negative_prompt="",
|
290 |
frame_rate=25,
|
291 |
seed=171198,
|
292 |
+
num_inference_steps=30,
|
293 |
guidance_scale=3,
|
294 |
height=512,
|
295 |
width=768,
|
|
|
378 |
label="4.1 Seed", minimum=0, maximum=1000000, step=1, value=171198
|
379 |
)
|
380 |
inference_steps = gr.Slider(
|
381 |
+
label="4.2 Inference Steps", minimum=1, maximum=50, step=1, value=30
|
382 |
)
|
383 |
guidance_scale = gr.Slider(
|
384 |
label="4.3 Guidance Scale", minimum=1.0, maximum=5.0, step=0.1, value=3.0
|