Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1.21 KB

predict_st_tutorial.md

File metadata and controls

17 lines (13 loc) · 1.21 KB

Streamlit Oracle 🔮: How 'Heavy' are Penguins?

Are you exited 😎 for the last 🗿 milestone?

Copy the entire code from the file predict.py into the empty predict.py in the folder pages. Make sure to give the pathname (relative to the current working folder, this is, the folder containing app.py.) of the pickled file model_penguins.pkl contained in the folder pages.

You know what makes a good DS WebApp 🌶️🐠, so for the predict web page:

  1. Give an appealing Title
  2. Introduce the page and set the mood. Add some emojis for a playful touch!
  3. Provide information about the model you're using.
  4. Create a sidebar for user inputs. Replace the hardcoded values for flipper length, species, and sex with sliders, and select boxes respectively.
  5. Display the prediction result.

🎉Congratulations on creating your very own Penguin WebApp 🐧✨. It's impressive to see you set up a Multipage Streamlit app for EDA and predicting penguin body mass. 🚀👏

Where to go next 🎈?