Create new app issue

I’m deploying the new app i got error this “ValueError: dtype=‘numeric’ is not compatible with arrays of bytes/strings.Convert your data to numeric values explicitly instead.“but I change the code when I run streamlit server in my local machine the output will be show,but deploying the error I got errors like this” UserWarning: X does not have valid feature names, but LinearRegression was fitted with feature names” , please help me out and also provide my git repo link

There were some issues:

  • you feed strings instead of numeric values into the predictor
  • requirements outdated
  • unnecessary packages and imports

See my pull request on github, streamlit app should work now:

1 Like