LocalChatGPT returns "error'

I’m a grad student, and I wanted to mess around with a GPT that I could train on my own research. I’m still pretty new to the whole thing, but I’ve got far enough to have my localGPT running with a gradio window at I’m also using the free version of ChatGPT. When I write anything in the “Chat with AI box” and then hit submit, the “reply” box just returns an “error”. When I check the API usage, it still says it has never been used. I’m assuming that means the query isn’t even getting to openai. I can also put things in the docs folder which is in the same folder as the app.py file, and it still returns an error.

Any help would be appreciated! Thanks!