Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
utils.py
CHANGED
@@ -106,7 +106,7 @@ def generate2(prompt,crazy,k):
|
|
106 |
mm = MinDalle(
|
107 |
models_root='./pretrained',
|
108 |
dtype=torch.float32,
|
109 |
-
device='
|
110 |
is_mega=False,
|
111 |
is_reusable=False
|
112 |
)
|
|
|
106 |
mm = MinDalle(
|
107 |
models_root='./pretrained',
|
108 |
dtype=torch.float32,
|
109 |
+
device='cuda',
|
110 |
is_mega=False,
|
111 |
is_reusable=False
|
112 |
)
|