Spaces:
Build error
Build error
andrewburns
commited on
Commit
•
739c84e
1
Parent(s):
cf6081a
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("andrewburns/
|
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("andrewburns/emoji_v2", torch_dtype=dtype)
|
13 |
pipe = pipe.to(device)
|
14 |
|
15 |
|