Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
import streamlit as st
|
| 3 |
import pandas as pd
|
| 4 |
import plotly.express as px
|
|
@@ -810,7 +810,7 @@ if col_speed and not df.empty:
|
|
| 810 |
if high_speed_pct > 20:
|
| 811 |
insights.append(f"🚀 **HIGH-SPEED RISK**: {high_speed_pct:.1f}% of fatigue events occur at high speeds, increasing accident severity potential.")
|
| 812 |
|
| 813 |
-
|
| 814 |
for i in insights:
|
| 815 |
st.markdown(f"- {i}")
|
| 816 |
|
|
@@ -818,4 +818,3 @@ for i in insights:
|
|
| 818 |
# ================= FOOTER ===========================
|
| 819 |
st.markdown("---")
|
| 820 |
st.markdown('<div class="footer">MineVision AI - Transforming Mining Safety with Intelligent Analytics | Contact: sales@minevision-ai.com</div>', unsafe_allow_html=True)
|
| 821 |
-
```
|
|
|
|
| 1 |
+
|
| 2 |
import streamlit as st
|
| 3 |
import pandas as pd
|
| 4 |
import plotly.express as px
|
|
|
|
| 810 |
if high_speed_pct > 20:
|
| 811 |
insights.append(f"🚀 **HIGH-SPEED RISK**: {high_speed_pct:.1f}% of fatigue events occur at high speeds, increasing accident severity potential.")
|
| 812 |
|
| 813 |
+
|
| 814 |
for i in insights:
|
| 815 |
st.markdown(f"- {i}")
|
| 816 |
|
|
|
|
| 818 |
# ================= FOOTER ===========================
|
| 819 |
st.markdown("---")
|
| 820 |
st.markdown('<div class="footer">MineVision AI - Transforming Mining Safety with Intelligent Analytics | Contact: sales@minevision-ai.com</div>', unsafe_allow_html=True)
|
|
|