replicate/replicate-python

NameError: name 'pydantic' is not defined

AndromedaPerseus opened this issue · 3 comments

/usr/local/lib/python3.10/dist-packages/replicate/model.py in Model()
24 """
25
---> 26 _client: "Client" = pydantic.PrivateAttr()
27
28 url: str

NameError: name 'pydantic' is not defined

Hi @EnkiEnil. Thanks for reporting this. I think I understand the problem, and have a fix merged with #196. Working to cut a new release now.

This is now available in 0.18.1

Thank you!