shakedzy / companion

Generative-AI-Powered Foreign-Language Private Tutor
http://shakedzy.xyz/companion/
Other
123 stars 28 forks source link

AttributeError: 'NoneType' object has no attribute 'get_response' #50

Closed adelnr closed 8 months ago

adelnr commented 9 months ago

Hi I tried the code with a different version of Python and still am having the same issue there is no response and I can't see or hear what the ai sending hope you will fix this issue or guide us to a solution for that thank you

Screenshot 2024-03-01 at 01 55 46 Screenshot 2024-03-01 at 01 55 39

shakedzy commented 9 months ago

Seems like the app wasn't initiated properly. Make sure to follow all the installation process as mentioned in the docs.

trbella commented 8 months ago

I am with exactly the same problem. I followed the instructions (for local and mobile) and did not work.

shakedzy commented 8 months ago

Please share the logs from the terminal

trbella commented 8 months ago

Please share the logs from the terminal

I am sorry. It was my bad. I just forgot to configure the setup file in the first use. After that it worked fine. Sometimes the text from the tutor was not read completely by the google text to speech, but after reboot it worked. Maybe this is the problem of @adelnr

adelnr commented 8 months ago

hi I still have the same issue I tried it on Codespace and still having an issue can guide me to fix it I Screenshot 2024-03-05 at 11 26 10 Screenshot 2024-03-05 at 11 24 57 Screenshot 2024-03-05 at 11 24 46 will be [thankful

adelnr commented 8 months ago

Please share the logs from the terminal

I am sorry. It was my bad. I just forgot to configure the setup file in the first use. After that it worked fine. Sometimes the text from the tutor was not read completely by the google text to speech, but after reboot it worked. Maybe this is the problem of @adelnr

Hi Trbella how did you configure the setup

shakedzy commented 8 months ago

It's in the docs: https://shakedzy.xyz/companion/run/

Launching for the first time If this is the first time you run the app, you'll need to first configure your tutor. To do so, click Settings () on the top-left corner of the main screen, or go to http://127.0.0.1:5000/setup.

adelnr commented 8 months ago

I did that i chose what language i want and what sound and saved it but still have the same issue