Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ def main():
|
|
114 |
else:
|
115 |
gen = set_seed(seed)
|
116 |
|
117 |
-
with trace(pipe, load_heads=
|
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:
|