Getting-error-attributeerror-inferenceclient-object-has-no-attribute-post

I am using model and when I am using langchain with hugging face I get the above error. It’s happening with every models. My access token is fine and working. Please help me with the error

1 Like

I think this is due to a specification change on Hugging Face’s side. It seems to have been fixed now, but it may not have been merged yet.

1 Like

Did you find any fix for it? I am also running into the same problem.

2 Likes

Still same when using LLMChain. (I know it is deprecrated, tryna to find some workaround like:chain = prompt | llm then chain.invoke() but no luck, still HAS NO POST…)

1 Like