hideosnes commited on
Commit
17011ac
1 Parent(s): 9cdcb42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(