Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -211,8 +211,8 @@ def generate_video(positive_prompt, num_frames, input_image):
|
|
211 |
|
212 |
emptylatentimage = NODE_CLASS_MAPPINGS["EmptyLatentImage"]()
|
213 |
emptylatentimage_161 = emptylatentimage.generate(
|
214 |
-
width=
|
215 |
-
height=
|
216 |
batch_size=1 #reduce this to avoid OOM error
|
217 |
)
|
218 |
|
@@ -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=
|
257 |
-
tile_sample_min_width=
|
258 |
tile_overlap_factor_height=0.2,
|
259 |
tile_overlap_factor_width=0.2,
|
260 |
auto_tile_size=True,
|
|
|
211 |
|
212 |
emptylatentimage = NODE_CLASS_MAPPINGS["EmptyLatentImage"]()
|
213 |
emptylatentimage_161 = emptylatentimage.generate(
|
214 |
+
width=480, #reduce this to avoid OOM error
|
215 |
+
height=480, #reduce this to avoid OOM error
|
216 |
batch_size=1 #reduce this to avoid OOM error
|
217 |
)
|
218 |
|
|
|
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=240,#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,
|