Spaces:
Running
Running
Update app_df.py
Browse files
app_df.py
CHANGED
@@ -12,6 +12,7 @@ from skyreels_v2_infer.modules import download_model
|
|
12 |
from skyreels_v2_infer.pipelines import PromptEnhancer, resizecrop
|
13 |
|
14 |
is_shared_ui = True if "fffiloni/SkyReels-V2" in os.environ['SPACE_ID'] else False
|
|
|
15 |
|
16 |
def generate_diffusion_forced_video(
|
17 |
prompt,
|
@@ -245,12 +246,18 @@ with gr.Blocks() as demo:
|
|
245 |
n_frames = 737
|
246 |
overlap_history = 17
|
247 |
addnoise_condition = 20
|
|
|
|
|
|
|
248 |
ar_step = 5
|
249 |
causal_block_size = 5
|
250 |
elif target_l == "60":
|
251 |
n_frames = 1457
|
252 |
overlap_history = 17
|
253 |
addnoise_condition = 20
|
|
|
|
|
|
|
254 |
ar_step = 5
|
255 |
causal_block_size = 5
|
256 |
|
|
|
12 |
from skyreels_v2_infer.pipelines import PromptEnhancer, resizecrop
|
13 |
|
14 |
is_shared_ui = True if "fffiloni/SkyReels-V2" in os.environ['SPACE_ID'] else False
|
15 |
+
is_shared_ui = False
|
16 |
|
17 |
def generate_diffusion_forced_video(
|
18 |
prompt,
|
|
|
246 |
n_frames = 737
|
247 |
overlap_history = 17
|
248 |
addnoise_condition = 20
|
249 |
+
use_teacache = True
|
250 |
+
teacache_thresh = 0.3
|
251 |
+
use_ret_steps = True
|
252 |
ar_step = 5
|
253 |
causal_block_size = 5
|
254 |
elif target_l == "60":
|
255 |
n_frames = 1457
|
256 |
overlap_history = 17
|
257 |
addnoise_condition = 20
|
258 |
+
use_teacache = True
|
259 |
+
teacache_thresh = 0.3
|
260 |
+
use_ret_steps = True
|
261 |
ar_step = 5
|
262 |
causal_block_size = 5
|
263 |
|