tetrisd commited on
Commit
5d11034
β€’
1 Parent(s): 05a002e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -114,7 +114,7 @@ def main():
114
  else:
115
  gen = set_seed(seed)
116
 
117
- with trace(pipe, load_heads=True) as tc:
118
  out2 = pipe(new_prompt, num_inference_steps=inf_steps, generator=gen)
119
  image2 = np.array(out2.images[0]) / 255
120
  else:
 
114
  else:
115
  gen = set_seed(seed)
116
 
117
+ with trace(pipe, load_heads=False) as tc:
118
  out2 = pipe(new_prompt, num_inference_steps=inf_steps, generator=gen)
119
  image2 = np.array(out2.images[0]) / 255
120
  else: