LuChengTHU commited on
Commit
a826c63
β€’
1 Parent(s): 39d2dd2

fix img2img

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -133,8 +133,8 @@ def img_to_img(model_path, prompt, neg_prompt, img, strength, guidance, steps, w
133
  num_inference_steps = int(steps),
134
  strength = strength,
135
  guidance_scale = guidance,
136
- width = width,
137
- height = height,
138
  generator = generator)
139
 
140
  return replace_nsfw_images(result)
 
133
  num_inference_steps = int(steps),
134
  strength = strength,
135
  guidance_scale = guidance,
136
+ #width = width,
137
+ #height = height,
138
  generator = generator)
139
 
140
  return replace_nsfw_images(result)