building-gen-ai-agent-on-aws icon indicating copy to clipboard operation
building-gen-ai-agent-on-aws copied to clipboard

HfAgent not working from the transformers

Open sreedharguda opened this issue 1 year ago • 0 comments

Dear @cobusbernard

I have followed the readme page for executing the code on my laptop, where have python 3.9.13 and installed all the packages which are in requirements.txt file. While executing getting the below error message.

from transformers.Tools import HfAgent ModuleNotFoundError: No module named 'transformers.Tools'

return agent_setup.start_agent() AttributeError: module 'agent_setup' has no attribute 'start_agent'

Please help me to run the app. Thank you.

Regards, Sreedhar

sreedharguda avatar Aug 05 '24 08:08 sreedharguda