Spaces:
Sleeping
Sleeping
Update utils/keyframe_utils.py
Browse files- utils/keyframe_utils.py +1 -1
utils/keyframe_utils.py
CHANGED
@@ -9,7 +9,7 @@ pipe = StableDiffusionPipeline.from_pretrained(
|
|
9 |
"CompVis/stable-diffusion-v1-4",
|
10 |
torch_dtype=torch.float16
|
11 |
)
|
12 |
-
pipe = pipe.to("
|
13 |
|
14 |
|
15 |
def generate_keyframe_prompt(segment):
|
|
|
9 |
"CompVis/stable-diffusion-v1-4",
|
10 |
torch_dtype=torch.float16
|
11 |
)
|
12 |
+
pipe = pipe.to("cpu")
|
13 |
|
14 |
|
15 |
def generate_keyframe_prompt(segment):
|