JMalott commited on
Commit
3095ffa
1 Parent(s): d546093

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +2 -2
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='cuda',
110
  is_mega=False,
111
  is_reusable=False
112
  )
@@ -119,7 +119,7 @@ def generate2(prompt,crazy,k):
119
  is_seamless=False,
120
  temperature=crazy,
121
  top_k=k,#2128,
122
- supercondition_factor=32,
123
  is_verbose=False
124
  )
125
 
 
106
  mm = MinDalle(
107
  models_root='./pretrained',
108
  dtype=torch.float32,
109
+ device='cpu',
110
  is_mega=False,
111
  is_reusable=False
112
  )
 
119
  is_seamless=False,
120
  temperature=crazy,
121
  top_k=k,#2128,
122
+ supercondition_factor=16,
123
  is_verbose=False
124
  )
125