jabberjabberjabber / llmscripts

Python stuff for doing local llm stuff
MIT License
10 stars 0 forks source link

'str' object has no attribute 'get' #1

Open fahdmirza opened 3 months ago

fahdmirza commented 3 months ago

Hi, I tried it out in Ubuntu , and got following error.

air) Ubuntu@0136-ict-prxmx50056:~/llmscripts$ python3 llm-utility.py "/home/Ubuntu/testimages" --api-url http://localhost:5001 Processing file 1 of 1: /home/Ubuntu/testimages/4a.jpgError processing task 'metadata': unsupported operand type(s) for +: 'NoneType' and 'int'

Error processing /home/Ubuntu/testimages/4a.jpg: 'str' object has no attribute 'get'

Thanks.

fahdmirza commented 3 months ago

I was looking to review this tool for my channel at https://www.youtube.com/@fahdmirza and won't look good with this error. I have tried various their images but same error. Do you have any working example or workaround this? Thanks.

jabberjabberjabber commented 3 months ago

Dude please don't review it. It is not good and I suck at coding I made it for myself and it is a work in progress.

fahdmirza commented 3 months ago

No Problem, thanks. But good effort nonetheless.