JoPmt commited on
Commit
ea6142e
·
1 Parent(s): c16c178

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -138,7 +138,7 @@ def plex(mput, prompt, neg_prompt, stips, modal_id, dula, blip, blop):
138
  cannyimage = np.concatenate([cannyimage, cannyimage, cannyimage], axis=2)
139
  canny_image = Image.fromarray(cannyimage)
140
  ##canny_image.save('./can.png', 'PNG')
141
- pose_image = load_image(mput)
142
  ##pose_image.save('./pos.png', 'PNG')
143
  openpose_image = openpose(pose_image)
144
  ##openpose_image.save('./fin.png','PNG')
 
138
  cannyimage = np.concatenate([cannyimage, cannyimage, cannyimage], axis=2)
139
  canny_image = Image.fromarray(cannyimage)
140
  ##canny_image.save('./can.png', 'PNG')
141
+ pose_image = load_image(mput).resize((512, 512))
142
  ##pose_image.save('./pos.png', 'PNG')
143
  openpose_image = openpose(pose_image)
144
  ##openpose_image.save('./fin.png','PNG')