amansrivastava17 / embedding-as-service

One-Stop Solution to encode sentence to fixed length vectors from various embedding techniques
MIT License
204 stars 29 forks source link

TypeError: encode() missing 1 required positional argument: 'texts' #19

Closed IS5882 closed 5 years ago

IS5882 commented 5 years ago

hello, I always get this error

TypeError: encode() missing 1 required positional argument: 'texts' on this line: vecs = en.encode(texts=['hello aman', 'how are you?'])

I don't understand why even though texts isn't missing ?

amansrivastava17 commented 5 years ago

@IS5882 Hi, First of all thank you for raising the issue, here we got the issue and fixed it in the latest release 1.0.0

just upgrade the current package following below command pip install embedding-as-service==1.0.0

Hope this will resolve the issue.

Thanks Again