Zayeemk commited on
Commit
4bb549e
·
verified ·
1 Parent(s): 16ea665

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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']