Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ pipe = DiffusionPipeline.from_pretrained(
|
|
21 |
"Fantasy-Studio/Paint-by-Example",
|
22 |
torch_dtype=torch.float16,
|
23 |
)
|
24 |
-
pipe = pipe.to(
|
25 |
|
26 |
from share_btn import community_icon_html, loading_icon_html, share_js
|
27 |
|
|
|
21 |
"Fantasy-Studio/Paint-by-Example",
|
22 |
torch_dtype=torch.float16,
|
23 |
)
|
24 |
+
pipe = pipe.to(device)
|
25 |
|
26 |
from share_btn import community_icon_html, loading_icon_html, share_js
|
27 |
|