Update app.py
Browse files
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')
|