JMalott commited on
Commit
d546093
1 Parent(s): 890d938

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
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='cpu',
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
  )