Spaces:
Build error
Build error
JiayiGuo821
commited on
Commit
•
a698371
1
Parent(s):
d55ad57
Add files
Browse files
app.py
CHANGED
@@ -258,7 +258,7 @@ class wrapper(object):
|
|
258 |
tag_lora=None,
|
259 |
tag_scheduler=None,):
|
260 |
|
261 |
-
self.device = "cuda
|
262 |
if fp16:
|
263 |
self.torch_dtype = torch.float16
|
264 |
else:
|
|
|
258 |
tag_lora=None,
|
259 |
tag_scheduler=None,):
|
260 |
|
261 |
+
self.device = "cuda" #if torch.cuda.is_available() else "cpu"
|
262 |
if fp16:
|
263 |
self.torch_dtype = torch.float16
|
264 |
else:
|