Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -78,13 +78,6 @@ st.write(
|
|
| 78 |
with st.sidebar:
|
| 79 |
st.title("Parameters")
|
| 80 |
|
| 81 |
-
# Stability toggle for Spaces (caps heavy charts & samples)
|
| 82 |
-
SAFE_MODE = st.checkbox(
|
| 83 |
-
"Safe mode (limit heavy charts)",
|
| 84 |
-
value=True,
|
| 85 |
-
help="Caps figure sizes & sampling to avoid out-of-memory on hosted environments.",
|
| 86 |
-
)
|
| 87 |
-
|
| 88 |
# Data Range expander
|
| 89 |
with st.expander("Data Range", expanded=False):
|
| 90 |
start_date = st.date_input(
|
|
@@ -208,6 +201,13 @@ with st.sidebar:
|
|
| 208 |
)
|
| 209 |
)
|
| 210 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 211 |
# Run button
|
| 212 |
run_analysis = st.button("Run Analysis")
|
| 213 |
|
|
|
|
| 78 |
with st.sidebar:
|
| 79 |
st.title("Parameters")
|
| 80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
# Data Range expander
|
| 82 |
with st.expander("Data Range", expanded=False):
|
| 83 |
start_date = st.date_input(
|
|
|
|
| 201 |
)
|
| 202 |
)
|
| 203 |
|
| 204 |
+
# Stability toggle for Spaces (caps heavy charts & samples)
|
| 205 |
+
SAFE_MODE = st.checkbox(
|
| 206 |
+
"Safe mode (limit heavy charts)",
|
| 207 |
+
value=True,
|
| 208 |
+
help="Caps figure sizes & sampling to avoid out-of-memory on hosted environments.",
|
| 209 |
+
)
|
| 210 |
+
|
| 211 |
# Run button
|
| 212 |
run_analysis = st.button("Run Analysis")
|
| 213 |
|