Spaces:
Sleeping
Sleeping
using two succes labels to show the start and end points
Browse files- 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 |
-
|
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
|