Finity-Alpha / OpenVoiceChat

Have a natural voice conversation with an LLM
http://www.finityalpha.com/OpenVoiceChat/
Apache License 2.0
224 stars 34 forks source link

AttributeError: 'Chatbot' object has no attribute 'generate_response_stream' #35

Open Shehryar718 opened 4 months ago

Shehryar718 commented 4 months ago
Screenshot 2024-06-23 at 7 31 52 PM

I am getting this issue when using llm_hf. This issue could be solved by editing the class name as:

from .base import BaseChatbot
class Chatbot(BaseChatbot):

instead of

class Chatbot:

But there's a catch, the run function and post_process function is not implemented in llm_hf class. Hence, llm_hf is not useable with run_chat function.

fakhirali commented 4 months ago

Thanks for the issue. llm_hf has not been updated in a looong while. I'll fix this as soon as I get the chance. In the meantime see if you can make a custom chatbot for your use case, here is how to do so.

Shehryar718 commented 4 months ago

I'll give it a try.

eherrerosj commented 3 months ago

Thanks for the issue. llm_hf has not been updated in a looong while. I'll fix this as soon as I get the chance. In the meantime see if you can make a custom chatbot for your use case, here is how to do so.

broken link

fakhirali commented 3 months ago

Thanks for the issue. llm_hf has not been updated in a looong while. I'll fix this as soon as I get the chance. In the meantime see if you can make a custom chatbot for your use case, here is how to do so.

broken link

Updated! https://www.finityalpha.com/OpenVoiceChat/Adding_models/