There I also uploaded
GitHub Repo: GitHub - reyaz-mra/diabetes-prediction
Hey, @Md_Reyaz
Welcome to Streamlit Community!
Based on the error image you’ve shared and your code, you need to make some changes in the requirements.txt
file: Refer link
matplotlib
(you haven’t used in your main code) & sklearn.utils
sklearn
to scikit-learn
I hope making these changes would help deploy your app smoothly.
Thanks!
Thank You So Much.
Now it’s not showing error…
just taking time in Oven:smile:
Okay. Actually, you made the changes in the wrong order. No problem just try it out once again
Follow the below steps in order:
requirements.txt
file, remove package name sklearn
(4th line) and write scikit-learn
diabetes.py
file, add this line from sklearn.utils import resample
back as you deleted it by mistakeI hope this helps!
Thanks!
helped alot. I’ve to show this in clg. Thanks. Working perfectly