ysharma HF staff commited on
Commit
4464edb
·
1 Parent(s): 6e50d62
Files changed (1) hide show
  1. 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: