machine-learning-deployment icon indicating copy to clipboard operation
machine-learning-deployment copied to clipboard

Why am i not able to pass string as input

Open girishpillai17 opened this issue 5 years ago • 0 comments

My model takes string as an input and returns the output. But when i am tryinto pass a string, it shows the below error:

** File "C:\Users\girish.pillai\AppData\Local\Programs\Python\Python37\lib\site-packages\sklearn\feature_extraction\text.py", line 69, in _preprocess doc = doc.lower() AttributeError: 'dict' object has no attribute 'lower'**

girishpillai17 avatar Sep 17 '20 06:09 girishpillai17