machine-learning-deployment
                                
                                
                                
                                    machine-learning-deployment copied to clipboard
                            
                            
                            
                        Why am i not able to pass string as input
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'**