Rodrigo_Cobo
commited on
Commit
·
73a5b44
1
Parent(s):
fcda6f5
fix jpeg error
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def update(slider, img):
|
|
50 |
#out_im.convert('RGB').save("temp/image_depth.jpeg", "JPEG")
|
51 |
|
52 |
#cv2.imwrite("temp/image_depth.jpeg", output)
|
53 |
-
plt.imsave(
|
54 |
|
55 |
return f'temp/image_depth.jpeg'
|
56 |
|
|
|
50 |
#out_im.convert('RGB').save("temp/image_depth.jpeg", "JPEG")
|
51 |
|
52 |
#cv2.imwrite("temp/image_depth.jpeg", output)
|
53 |
+
plt.imsave("temp/image_depth.jpeg", output)
|
54 |
|
55 |
return f'temp/image_depth.jpeg'
|
56 |
|