-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLanding_Page.py
More file actions
41 lines (34 loc) · 958 Bytes
/
Landing_Page.py
File metadata and controls
41 lines (34 loc) · 958 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import streamlit as st
st.set_page_config(page_title="Weather Prediction App", layout="wide")
st.title("🌦️ Real-time Weather Predictor")
st.markdown("#### Powered by XGBoost + OpenWeatherMap API")
st.markdown("---")
st.markdown("""
Welcome to the **Weather Prediction App** 🌤️
This app predicts **tomorrow’s temperature and humidity** using real-time weather data and an ML model.
""")
st.image("assets/Image.png", width=200)
if st.button("🚀 Get Started"):
st.switch_page("pages/1_Current_Weather.py")
# --- Footer ---
st.markdown("""
<style>
footer {
visibility: hidden;
}
.footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
background-color: #0e1117;
color: white;
text-align: center;
padding: 10px 0;
font-size: 0.9em;
}
</style>
<div class="footer">
© 2025 <b>Aaryan Dawalkar</b> — Weather Prediction App | powered by <b>Streamlit</b>
</div>
""", unsafe_allow_html=True)