Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ with st.form("weather_form"):
|
|
46 |
with col1:
|
47 |
temp = st.slider("π‘ Temperature (Β°C)", min_value=0.0, max_value=60.0, value=30.0)
|
48 |
humidity = st.slider("π§ Humidity (%)", min_value=0, max_value=100, value=60)
|
49 |
-
pressure = st.slider("π΅ Air Pressure (kPa)", min_value=
|
50 |
|
51 |
with col2:
|
52 |
wind_speed = st.slider("π¬ Wind Speed (m/s)", min_value=0.0, max_value=100.0, value=5.0)
|
@@ -58,7 +58,6 @@ with st.form("weather_form"):
|
|
58 |
|
59 |
submitted = st.form_submit_button("β
Submit and Predict")
|
60 |
|
61 |
-
|
62 |
# --- Process Input ---
|
63 |
if submitted:
|
64 |
# Calculate the next day based on the entry date
|
|
|
46 |
with col1:
|
47 |
temp = st.slider("π‘ Temperature (Β°C)", min_value=0.0, max_value=60.0, value=30.0)
|
48 |
humidity = st.slider("π§ Humidity (%)", min_value=0, max_value=100, value=60)
|
49 |
+
pressure = st.slider("π΅ Air Pressure (kPa)", min_value=0.0, max_value=5000.0, value=1000.0) # Custom scale
|
50 |
|
51 |
with col2:
|
52 |
wind_speed = st.slider("π¬ Wind Speed (m/s)", min_value=0.0, max_value=100.0, value=5.0)
|
|
|
58 |
|
59 |
submitted = st.form_submit_button("β
Submit and Predict")
|
60 |
|
|
|
61 |
# --- Process Input ---
|
62 |
if submitted:
|
63 |
# Calculate the next day based on the entry date
|