This project leverages Machine Learning techniques and Python programming language to analyze historical food prices data in Nigeria, predict future prices, and offer valuable insights for consumers, policymakers, and stakeholders.
- Python (3.6 or later)
-
Clone the repository:
git clone https://dagshub.com/Omdena/KanoNigeriaChapter_FoodPrices.git
-
To install the required dependencies, run the following command in your terminal:
pip install streamlit
Ensure you are in the project directory, then execute the following command to run the Streamlit application:
streamlit run 1 (after typing 1 press 'Tab' button on keyboard to auto-fill the name of file as it uses emoji in the filename)
If you want to customize the theme or apply custom CSS:
-
Open the
.streamlit/config.toml
file. -
Modify the theme settings and add custom CSS:
[theme] base="dark" primaryColor="#f1df10" backgroundColor="#014803" secondaryBackgroundColor="#318100" textColor="#ffffff" font="serif"
-
To apply additional CSS, you can inject it directly into your Streamlit Python script using the
st.markdown
function:st.markdown(""" <style> /* Your custom CSS styles here */ </style> """, unsafe_allow_html=True)
Open your web browser and go to http://localhost:8501 to explore the different sections of the app. This web address works after you run the file using "streamlit run file_name.py"