ModuleNotFoundError: No module named 'hugchat'

Hello, I’m starting out with Streamlit and currently following this tutorial: How to build an LLM-powered ChatBot with Streamlit.

However, I get the ModuleNotFoundError: No module named 'hugchat' error even after I included hugchat in my requirements.txt file. I also tried including hugchat==0.0.8 instead, but still got the same error.

My application is at

I appreciate any help / pointers!

Hi @jsirait and welcome to our community! :raised_hands:

Does it work on your local machine?

Have you tried rebooting your app and/or deleting and recreating it?


Rebooting the app works :slight_smile: Thank you!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.