seawolf2357 commited on
Commit
26a3d78
·
verified ·
1 Parent(s): c4f5194

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -106,8 +106,8 @@ def load_audio_model():
106
 
107
  # Constants
108
  MOD_VALUE = 32
109
- DEFAULT_H_SLIDER_VALUE = 512
110
- DEFAULT_W_SLIDER_VALUE = 896
111
  NEW_FORMULA_MAX_AREA = 480.0 * 832.0
112
 
113
  SLIDER_MIN_H, SLIDER_MAX_H = 128, 896
@@ -116,7 +116,7 @@ MAX_SEED = np.iinfo(np.int32).max
116
 
117
  FIXED_FPS = 24
118
  MIN_FRAMES_MODEL = 8
119
- MAX_FRAMES_MODEL = 81
120
 
121
  default_prompt_i2v = "make this image come alive, cinematic motion, smooth animation"
122
  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"
 
106
 
107
  # Constants
108
  MOD_VALUE = 32
109
+ DEFAULT_H_SLIDER_VALUE = 320
110
+ DEFAULT_W_SLIDER_VALUE = 560
111
  NEW_FORMULA_MAX_AREA = 480.0 * 832.0
112
 
113
  SLIDER_MIN_H, SLIDER_MAX_H = 128, 896
 
116
 
117
  FIXED_FPS = 24
118
  MIN_FRAMES_MODEL = 8
119
+ MAX_FRAMES_MODEL = 120
120
 
121
  default_prompt_i2v = "make this image come alive, cinematic motion, smooth animation"
122
  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"