yijin928 commited on
Commit
a0c5e68
·
verified ·
1 Parent(s): e839e85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -253,8 +253,8 @@ def generate_video(positive_prompt, num_frames, input_image):
253
 
254
  cogvideodecode_11 = cogvideodecode.decode(
255
  enable_vae_tiling=False,
256
- tile_sample_min_height=240,#reduce this to avoid OOM error
257
- tile_sample_min_width=360,#reduce this to avoid OOM error
258
  tile_overlap_factor_height=0.2,
259
  tile_overlap_factor_width=0.2,
260
  auto_tile_size=True,
 
253
 
254
  cogvideodecode_11 = cogvideodecode.decode(
255
  enable_vae_tiling=False,
256
+ tile_sample_min_height=120,#reduce this to avoid OOM error
257
+ tile_sample_min_width=180,#reduce this to avoid OOM error
258
  tile_overlap_factor_height=0.2,
259
  tile_overlap_factor_width=0.2,
260
  auto_tile_size=True,