Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -96,7 +96,7 @@ def main():
|
|
| 96 |
station_name = st.text_input("Station name", "溜池山王")
|
| 97 |
max_time = st.slider("Max travel time (min)", 10, 60, 30, 10)
|
| 98 |
step = st.selectbox("Time step (min)", [5, 10, 15], index=1)
|
| 99 |
-
if st.button("Generate Map"
|
| 100 |
with st.spinner("Calculating…"):
|
| 101 |
stations = fetch_station_data(station_name, max_time)
|
| 102 |
if stations.empty:
|
|
|
|
| 96 |
station_name = st.text_input("Station name", "溜池山王")
|
| 97 |
max_time = st.slider("Max travel time (min)", 10, 60, 30, 10)
|
| 98 |
step = st.selectbox("Time step (min)", [5, 10, 15], index=1)
|
| 99 |
+
if st.button("Generate Map"):
|
| 100 |
with st.spinner("Calculating…"):
|
| 101 |
stations = fetch_station_data(station_name, max_time)
|
| 102 |
if stations.empty:
|