Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def pipe_t2i():
|
|
34 |
return PIPE
|
35 |
|
36 |
def pipe_i2i():
|
37 |
-
PIPE = DiffusionPipeline.from_pretrained("yisol/IDM-VTON", torch_dtype=torch.float16
|
38 |
PIPE.unet = torch.compile(PIPE.unet, mode="reduce-overhead", fullgraph=True)
|
39 |
return PIPE
|
40 |
|
|
|
34 |
return PIPE
|
35 |
|
36 |
def pipe_i2i():
|
37 |
+
PIPE = DiffusionPipeline.from_pretrained("yisol/IDM-VTON", torch_dtype=torch.float16).to("cuda")
|
38 |
PIPE.unet = torch.compile(PIPE.unet, mode="reduce-overhead", fullgraph=True)
|
39 |
return PIPE
|
40 |
|