Spaces:
Runtime error
Runtime error
Commit
·
ffc1008
1
Parent(s):
aa7ff49
Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ def postprocess(
|
|
111 |
processed_image = limit_colors(
|
112 |
image=processed_image,
|
113 |
limit=number_of_colors,
|
114 |
-
quantize=QUANTIZATION_METHODS[quantization_method],
|
115 |
dither=DITHER_METHODS[dither_method],
|
116 |
use_k_means=use_k_means
|
117 |
)
|
|
|
111 |
processed_image = limit_colors(
|
112 |
image=processed_image,
|
113 |
limit=number_of_colors,
|
114 |
+
quantize=QUANTIZATION_METHODS[quantization_method.capitalize()],
|
115 |
dither=DITHER_METHODS[dither_method],
|
116 |
use_k_means=use_k_means
|
117 |
)
|