Spaces:
Runtime error
Runtime error
Commit
•
806bd4b
1
Parent(s):
dae081a
Use official weights (#3)
Browse files- Use official weights (7044eb4760b766cba4b4105aa6ee504ad3d10c7c)
Co-authored-by: Patrick von Platen <[email protected]>
app.py
CHANGED
@@ -15,7 +15,7 @@ from torchvision import transforms
|
|
15 |
from diffusers import DiffusionPipeline
|
16 |
from diffusers.utils import torch_device
|
17 |
pipe = DiffusionPipeline.from_pretrained(
|
18 |
-
"
|
19 |
torch_dtype=torch.float16,
|
20 |
)
|
21 |
pipe = pipe.to("cuda")
|
|
|
15 |
from diffusers import DiffusionPipeline
|
16 |
from diffusers.utils import torch_device
|
17 |
pipe = DiffusionPipeline.from_pretrained(
|
18 |
+
"Fantasy-Studio/Paint-by-Example",
|
19 |
torch_dtype=torch.float16,
|
20 |
)
|
21 |
pipe = pipe.to("cuda")
|