Closed ergo70 closed 7 months ago
Thanks for your feedback. I will check and fix it soon :)
The same happens on the CLI:
stone -p "#6f503c #81654f #9d7a54 #bea07e #e5c8a6"
File "/Python/Python310/lib/site-packages/stone/main.py", line 123, in main specified_palette = normalize_palette(specified_palette) TypeError: unhashable type: 'list'
Hi @ergo70,
Thank you so much for your valuable feedback.
I've fixed it and released a new version.
Please upgrade the library by running one of the following commands:
pip install skin-tone-classifier[all] --upgrade
or
pip install skin-tone-classifier --upgrade
Thanks!
Yes, it works now as described.
Thank, you for fixing this.
When trying to set a custom palette, e.g. in code:
I get TypeError: unhashable type: 'list' in File "/Python/Python310/lib/site-packages/stone/api.py", line 73, in process skin_tone_palette = normalize_palette(tone_palette)
I think this is the correct way, but I might be wrong, otherwise this is a bug.
best regards
Ernst-Georg