DLesmes commited on
Commit
a39a947
Β·
1 Parent(s): 067aa2a

using two succes labels to show the start and end points

Browse files
Files changed (1) hide show
  1. src/components/stats.py +2 -6
src/components/stats.py CHANGED
@@ -86,12 +86,8 @@ def get_working_points(visits):
86
  start_place = visits[start_idx].get('place', 'N/A')
87
  end_place = visits[end_idx].get('place', 'N/A')
88
 
89
- st.success(f"""
90
- βœ… **Trabajaste desde:**
91
- {start_place}
92
- **hasta:**
93
- {end_place}
94
- """)
95
  st.info(f"Ruta de trabajo: Punto {start_idx + 1} β†’ Punto {end_idx + 1}")
96
 
97
  return start_idx, end_idx
 
86
  start_place = visits[start_idx].get('place', 'N/A')
87
  end_place = visits[end_idx].get('place', 'N/A')
88
 
89
+ st.success(f"πŸ‡¨πŸ‡΄ **Trabajaste desde:** {start_place}")
90
+ st.success(f"🏁 **hasta:** {end_place}")
 
 
 
 
91
  st.info(f"Ruta de trabajo: Punto {start_idx + 1} β†’ Punto {end_idx + 1}")
92
 
93
  return start_idx, end_idx