Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ def generate(
|
|
78 |
max_cfg_scale=2,
|
79 |
contrast_enhance_scale=1.2
|
80 |
)
|
81 |
-
model_manager.to(
|
82 |
export_to_video(frames, video_path, fps=fps_id)
|
83 |
|
84 |
return video_path, seed
|
|
|
78 |
max_cfg_scale=2,
|
79 |
contrast_enhance_scale=1.2
|
80 |
)
|
81 |
+
model_manager.to("cpu")
|
82 |
export_to_video(frames, video_path, fps=fps_id)
|
83 |
|
84 |
return video_path, seed
|