Spaces:
Runtime error
Runtime error
hh
Browse files- gradio_seg2image.py +1 -1
gradio_seg2image.py
CHANGED
|
@@ -16,7 +16,7 @@ def encode(img_array):
|
|
| 16 |
|
| 17 |
# Save image to file
|
| 18 |
img_path = "temp_image.jpeg"
|
| 19 |
-
img.save(img_path)
|
| 20 |
|
| 21 |
# Encode image file using Base64
|
| 22 |
with open(img_path, "rb") as image_file:
|
|
|
|
| 16 |
|
| 17 |
# Save image to file
|
| 18 |
img_path = "temp_image.jpeg"
|
| 19 |
+
img.save(img_path)
|
| 20 |
|
| 21 |
# Encode image file using Base64
|
| 22 |
with open(img_path, "rb") as image_file:
|