Spaces:
Sleeping
Sleeping
Anonymous
commited on
Commit
•
1706095
1
Parent(s):
1ac50ed
update videocrafter2
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def infer(prompt, output_size, seed, num_frames, ddim_steps, unconditional_guida
|
|
41 |
model_512 = load_model_checkpoint(model_512, ckpt_path_512)
|
42 |
model_512.eval()
|
43 |
model = model_512
|
44 |
-
fps =
|
45 |
if output_size == "576x1024":
|
46 |
width = 1024
|
47 |
height = 576
|
|
|
41 |
model_512 = load_model_checkpoint(model_512, ckpt_path_512)
|
42 |
model_512.eval()
|
43 |
model = model_512
|
44 |
+
fps = 12
|
45 |
if output_size == "576x1024":
|
46 |
width = 1024
|
47 |
height = 576
|
scripts/run_text2video_freenoise_512.sh
CHANGED
@@ -18,7 +18,7 @@ python3 scripts/evaluation/inference_freenoise.py \
|
|
18 |
--ddim_steps 50 \
|
19 |
--ddim_eta 0.0 \
|
20 |
--prompt_file $prompt_file \
|
21 |
-
--fps
|
22 |
--frames 64 \
|
23 |
--window_size 16 \
|
24 |
--window_stride 4
|
|
|
18 |
--ddim_steps 50 \
|
19 |
--ddim_eta 0.0 \
|
20 |
--prompt_file $prompt_file \
|
21 |
+
--fps 12 \
|
22 |
--frames 64 \
|
23 |
--window_size 16 \
|
24 |
--window_stride 4
|
scripts/run_text2video_freenoise_mp_512.sh
CHANGED
@@ -18,7 +18,7 @@ python3 scripts/evaluation/inference_freenoise_mp.py \
|
|
18 |
--ddim_steps 50 \
|
19 |
--ddim_eta 0.0 \
|
20 |
--prompt_file $prompt_file \
|
21 |
-
--fps
|
22 |
--frames 64 \
|
23 |
--window_size 16 \
|
24 |
--window_stride 4
|
|
|
18 |
--ddim_steps 50 \
|
19 |
--ddim_eta 0.0 \
|
20 |
--prompt_file $prompt_file \
|
21 |
+
--fps 12 \
|
22 |
--frames 64 \
|
23 |
--window_size 16 \
|
24 |
--window_stride 4
|