Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -429,7 +429,7 @@ elif page == "🗺️ Route Optimizer":
|
|
| 429 |
# Get route recommendations
|
| 430 |
recommendations = optimizer.recommend_green_routes(origin, destination, weight)
|
| 431 |
|
| 432 |
-
if 'error' not in recommendations
|
| 433 |
st.success("✅ Route optimization complete!")
|
| 434 |
|
| 435 |
route_data = recommendations['recommendations']
|
|
|
|
| 429 |
# Get route recommendations
|
| 430 |
recommendations = optimizer.recommend_green_routes(origin, destination, weight)
|
| 431 |
|
| 432 |
+
if 'error' not in recommendations:
|
| 433 |
st.success("✅ Route optimization complete!")
|
| 434 |
|
| 435 |
route_data = recommendations['recommendations']
|