Spaces:
Runtime error
Runtime error
Commit
·
e5dead6
1
Parent(s):
c5b8684
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,7 +55,7 @@ class StableDiffusionLoader:
|
|
| 55 |
self.pretrain_pipe,
|
| 56 |
#torch_dtype=torch.float16,
|
| 57 |
use_auth_token=False
|
| 58 |
-
).to(device)
|
| 59 |
pipe = pipe.to(self.device)
|
| 60 |
with autocast(self.device):
|
| 61 |
image = pipe(self.prompt)[0][0]
|
|
|
|
| 55 |
self.pretrain_pipe,
|
| 56 |
#torch_dtype=torch.float16,
|
| 57 |
use_auth_token=False
|
| 58 |
+
).to(self.device)
|
| 59 |
pipe = pipe.to(self.device)
|
| 60 |
with autocast(self.device):
|
| 61 |
image = pipe(self.prompt)[0][0]
|