artificialguybr commited on
Commit
2385d22
1 Parent(s): ffc1008

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -121,7 +121,7 @@ def postprocess(
121
  processed_image = limit_colors(
122
  image=processed_image,
123
  limit=number_of_shades,
124
- quantize=QUANTIZATION_METHODS[quantization_method_grayscale],
125
  dither=DITHER_METHODS[dither_method_grayscale],
126
  use_k_means=use_k_means_grayscale
127
  )
 
121
  processed_image = limit_colors(
122
  image=processed_image,
123
  limit=number_of_shades,
124
+ quantize=QUANTIZATION_METHODS[quantization_method_grayscale.capitalize()],
125
  dither=DITHER_METHODS[dither_method_grayscale],
126
  use_k_means=use_k_means_grayscale
127
  )