Closed pablo-01 closed 4 years ago
Found the problem, stupid mistake of not making it an array (note to self: read error messages).
I do have one question, how to append keywords rather than replacing them?
thanks
@PavKmiec glad you figured it out. I believe you just append like a normal list type. So, info['keywords'].append('someKeyword')
@PavKmiec let me know if that works.
that worked, thanks @jamesacampbell
@PavKmiec if Clarifai finds my package useful, please consider sponsoring it. I have added a sponsor link to the repo using my Patreon account. Thanks for using it!
Hi,
I just started using iptcinfo3 and have a quick question. Is there an example of how to append keywords?
I followed the usage example and I can write some to IPTC like headline but when I try to add a keyword it throws an error and I was wondering if anyone could help.
It prints keywords ok just can not write them back.