Relative Content

Tag Archive for pythonpythonanywhere

making prediction web Error in prediction: Unexpected token ‘<', "<!doctype "… is not valid JSON and this just appear when i click predict

I want to deploy a regression model that I have obtained from machine learning in python to PythonAnywhere. I have uploaded the html file for the user interface and the python file. But when the data is entered into the website that I have created after pressing the “predict” button, the result is an error (Error in prediction: Unexpected token ‘<‘, “<!doctype “… is not valid JSON).