Spaces:
Runtime error
Runtime error
Fix SD checkpoint typo
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from diffusers import SemanticStableDiffusionPipeline
|
|
| 6 |
|
| 7 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 8 |
|
| 9 |
-
pipe = SemanticStableDiffusionPipeline.from_pretrained("
|
| 10 |
pipe = pipe.to(device)
|
| 11 |
gen = torch.Generator(device=device)
|
| 12 |
|
|
|
|
| 6 |
|
| 7 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 8 |
|
| 9 |
+
pipe = SemanticStableDiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5")
|
| 10 |
pipe = pipe.to(device)
|
| 11 |
gen = torch.Generator(device=device)
|
| 12 |
|