Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -227,7 +227,7 @@ def create_image(
|
|
227 |
|
228 |
if float(control_scale) == 0:
|
229 |
# canny_map = canny_map.resize((1024, 1024))
|
230 |
-
canny_map = canny_map.resize((512, 512)
|
231 |
|
232 |
if len(neg_content_prompt) > 0 and neg_content_scale != 0:
|
233 |
images = ip_model.generate(
|
|
|
227 |
|
228 |
if float(control_scale) == 0:
|
229 |
# canny_map = canny_map.resize((1024, 1024))
|
230 |
+
canny_map = canny_map.resize((512, 512))
|
231 |
|
232 |
if len(neg_content_prompt) > 0 and neg_content_scale != 0:
|
233 |
images = ip_model.generate(
|