Spaces:
Running
on
L40S
Running
on
L40S
Update app.py
Browse files
app.py
CHANGED
@@ -25,18 +25,18 @@ pipe.set_adapters(["causvid_lora"], adapter_weights=[0.95])
|
|
25 |
pipe.fuse_lora()
|
26 |
|
27 |
MOD_VALUE = 32
|
28 |
-
DEFAULT_H_SLIDER_VALUE = 512
|
29 |
-
DEFAULT_W_SLIDER_VALUE = 896
|
30 |
|
31 |
-
SLIDER_MIN_H, SLIDER_MAX_H = 128,
|
32 |
-
SLIDER_MIN_W, SLIDER_MAX_W = 128,
|
33 |
MAX_SEED = np.iinfo(np.int32).max
|
34 |
|
35 |
FIXED_FPS = 24
|
36 |
MIN_FRAMES_MODEL = 8
|
37 |
MAX_FRAMES_MODEL = 81
|
38 |
|
39 |
-
default_prompt_t2v = "
|
40 |
default_negative_prompt = "Bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards, watermark, text, signature"
|
41 |
|
42 |
def get_duration(prompt, height, width,
|
|
|
25 |
pipe.fuse_lora()
|
26 |
|
27 |
MOD_VALUE = 32
|
28 |
+
DEFAULT_H_SLIDER_VALUE = 384 # 512
|
29 |
+
DEFAULT_W_SLIDER_VALUE = 576 # 896
|
30 |
|
31 |
+
SLIDER_MIN_H, SLIDER_MAX_H = 128, 1280
|
32 |
+
SLIDER_MIN_W, SLIDER_MAX_W = 128, 1280
|
33 |
MAX_SEED = np.iinfo(np.int32).max
|
34 |
|
35 |
FIXED_FPS = 24
|
36 |
MIN_FRAMES_MODEL = 8
|
37 |
MAX_FRAMES_MODEL = 81
|
38 |
|
39 |
+
default_prompt_t2v = "cinematic footage, people dancing in a nightclub, high quality, 4K, intricate details"
|
40 |
default_negative_prompt = "Bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards, watermark, text, signature"
|
41 |
|
42 |
def get_duration(prompt, height, width,
|