LPX55 commited on
Commit
16cae43
·
verified ·
1 Parent(s): b0fa53c

Update debug.py

Browse files
Files changed (1) hide show
  1. debug.py +0 -1
debug.py CHANGED
@@ -46,7 +46,6 @@ def save_image(image_id, image_path: Image.Image) -> None:
46
  print("Type: " + str(type(image_path)))
47
  with load_image(image_path) as img:
48
  img = Image.Image.load(img)
49
- img = img.convert("P", palette=Image.ADAPTIVE, colors=256)
50
  img.save(save_image_path)
51
 
52
  print(f"Saved image: {save_image_path}")
 
46
  print("Type: " + str(type(image_path)))
47
  with load_image(image_path) as img:
48
  img = Image.Image.load(img)
 
49
  img.save(save_image_path)
50
 
51
  print(f"Saved image: {save_image_path}")