seawolf2357 commited on
Commit
093d0ab
·
verified ·
1 Parent(s): fe14409

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -28,8 +28,8 @@ pipe.set_adapters(["causvid_lora"], adapter_weights=[0.95])
28
  pipe.fuse_lora()
29
 
30
  MOD_VALUE = 32
31
- DEFAULT_H_SLIDER_VALUE = 512
32
- DEFAULT_W_SLIDER_VALUE = 896
33
  NEW_FORMULA_MAX_AREA = 480.0 * 832.0
34
 
35
  SLIDER_MIN_H, SLIDER_MAX_H = 128, 896
@@ -38,7 +38,7 @@ MAX_SEED = np.iinfo(np.int32).max
38
 
39
  FIXED_FPS = 24
40
  MIN_FRAMES_MODEL = 8
41
- MAX_FRAMES_MODEL = 81
42
 
43
  default_prompt_i2v = "make this image come alive, cinematic motion, smooth animation"
44
  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"
 
28
  pipe.fuse_lora()
29
 
30
  MOD_VALUE = 32
31
+ DEFAULT_H_SLIDER_VALUE = 320
32
+ DEFAULT_W_SLIDER_VALUE = 560
33
  NEW_FORMULA_MAX_AREA = 480.0 * 832.0
34
 
35
  SLIDER_MIN_H, SLIDER_MAX_H = 128, 896
 
38
 
39
  FIXED_FPS = 24
40
  MIN_FRAMES_MODEL = 8
41
+ MAX_FRAMES_MODEL = 120
42
 
43
  default_prompt_i2v = "make this image come alive, cinematic motion, smooth animation"
44
  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"