Team Ai
Apppublic

aieye/weather_forecasting_tutorial

sourceHugging Facemitupdated 3y agoView on Hugging Face
0likes
0_Introduction.py32 linesDownload Raw Back to root
1import streamlit as st2from utils.levels import complete_level, initialize_level, render_page, get_level3from utils.login import initialize_login4 5initialize_login()6initialize_level()7 8LEVEL=09 10def intro_page():11    st.header("Weather Forecasting")12    st.subheader("Introduction")13 14    st.write("""Welcome to the interactive tutorial on creating your very own Weather Forecasting Application!""")15 16    st.image(17        "https://media2.giphy.com/media/tja7MJ6DYOenIR4oDc/giphy.gif?cid=ecf05e47cbdu0obazcxzfmh83j8y7fc0mcpel6aobwqu75of&ep=v1_gifs_search&rid=giphy.gif&ct=g",18        use_column_width=True,19    )20 21    st.write(22        """23        In this tutorial, you will learn how to build a simple application that can forecast weather conditions to make informed decisions. Weather forecasting plays a pivotal role in our daily lives, influencing our travel plans, agricultural activities, energy consumption, and overall decision-making.24    """25    )26 27    st.info(f"Click on the button below to start the tutorial!")28 29    if st.button("I am Ready!"):30        complete_level(LEVEL)31 32render_page(intro_page, LEVEL)