Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
9 |
context = autocast if device == "cuda" else nullcontext
|
10 |
dtype = torch.float16 if device == "cuda" else torch.float32
|
11 |
|
12 |
-
pipe = StableDiffusionPipeline.from_pretrained("
|
13 |
pipe = pipe.to(device)
|
14 |
|
15 |
|
|
|
9 |
context = autocast if device == "cuda" else nullcontext
|
10 |
dtype = torch.float16 if device == "cuda" else torch.float32
|
11 |
|
12 |
+
pipe = StableDiffusionPipeline.from_pretrained("lvelho/sd-pokemon-model", torch_dtype=dtype)
|
13 |
pipe = pipe.to(device)
|
14 |
|
15 |
|