mhaowork / amblegpt

Video surveilance footage analyst powered by GPT-4o

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

errors running the application

Sceptersax opened this issue · comments

I'm getting errors and here's one of them:

Process-5: Error processing video for event 1705104297.169877-v4prgt
Traceback (most recent call last):
File "/app/./mqtt_client.py", line 303, in process_message
json_str = response.json()["choices"][0]["message"]["content"]

Dumb question but am i supposed to do the following on the host machine or in the container:

"Alternatively, you can simply install deps in requirements.txt, set .env and run mqtt_client.py."

I did everything in the instructions except the above since it said "alternatively". Does that mean my installation didn't go smooth? Or is this step mandatory? Thanks

Looks like my problem was that the openai key wasn't set correctly. I may have rectified the issue.

@Sceptersax if you haven't fixed it, try delete the prompt in the config file

Good to know thanks. My biggest issue with openai is the fact that it's just way to restrictive in terms of describing a person. It's very politically correct. I guess i can try to formulate different ways of query.