Hello all, I am discovering Huggingface and just create my first space following a tutorial.
While building, it mentions that it has installed the requirements.txt but then outputs the following error:
Traceback (most recent call last):
File "/home/user/app/app.py", line 1, in <module>
from transformers import AutoModelForCausalLM, AutoTokenizer
ModuleNotFoundError: No module named 'transformers'
Here is the link to said space: AI Chatbot - a Hugging Face Space by kevnoutsawo
I tried removing the requirements.txt and putting it back but it does the same. I deleted the space and built a new one and this time I added the requirements.txt before the app.py thinking that maybe the presence of the app.py triggered the building before I added the requirements.txt. After this it says the same.
I would be very grateful to learn how I can fix this.
Thanks in advance.