Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -124,7 +124,7 @@ function custom(){
|
|
124 |
|
125 |
# torch pipes
|
126 |
|
127 |
-
image_pipe = FluxPipeline.from_pretrained(base, torch_dtype=dtype
|
128 |
video_pipe = CogVideoXImageToVideoPipeline.from_pretrained(
|
129 |
"THUDM/CogVideoX-5b-I2V",
|
130 |
torch_dtype=dtype
|
|
|
124 |
|
125 |
# torch pipes
|
126 |
|
127 |
+
image_pipe = FluxPipeline.from_pretrained(base, torch_dtype=dtype).to(device)
|
128 |
video_pipe = CogVideoXImageToVideoPipeline.from_pretrained(
|
129 |
"THUDM/CogVideoX-5b-I2V",
|
130 |
torch_dtype=dtype
|