ShaksML commited on
Commit
ac1d8ff
·
verified ·
1 Parent(s): 1b13e36

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. dt_app.py +2 -2
dt_app.py CHANGED
@@ -52,7 +52,7 @@ with st.sidebar.form("sensor_inputs_form"):
52
  input_data['Coolant pressure'] = st.slider("Coolant Pressure (bar)", 0.0, 8.0, 2.30, 0.01)
53
 
54
  st.subheader("Temperature & RPM")
55
- input_data['Engine rpm'] = st.number_input("Engine RPM", 400, 2000, 750, 10)
56
  input_data['lub oil temp'] = st.number_input("Lub Oil Temp (°C)", 70.0, 100.0, 78.0, 0.1)
57
  input_data['Coolant temp'] = st.number_input("Coolant Temp (°C)", 70.0, 110.0, 78.0, 0.1)
58
 
@@ -98,7 +98,7 @@ if model is not None:
98
  st.error("⚠️ **CRITICAL ALERT: Engine Fault Detected**")
99
  st.markdown("The system analysis indicates a high probability of component failure. Immediate inspection is recommended.")
100
  else:
101
- st.success("**STATUS: Optimal**")
102
  st.markdown("All systems are functioning within normal operational parameters.")
103
 
104
  with col2:
 
52
  input_data['Coolant pressure'] = st.slider("Coolant Pressure (bar)", 0.0, 8.0, 2.30, 0.01)
53
 
54
  st.subheader("Temperature & RPM")
55
+ input_data['Engine rpm'] = st.number_input("Engine RPM", 400, 2000, 790, 10)
56
  input_data['lub oil temp'] = st.number_input("Lub Oil Temp (°C)", 70.0, 100.0, 78.0, 0.1)
57
  input_data['Coolant temp'] = st.number_input("Coolant Temp (°C)", 70.0, 110.0, 78.0, 0.1)
58
 
 
98
  st.error("⚠️ **CRITICAL ALERT: Engine Fault Detected**")
99
  st.markdown("The system analysis indicates a high probability of component failure. Immediate inspection is recommended.")
100
  else:
101
+ st.success("✅ **STATUS: Optimal**")
102
  st.markdown("All systems are functioning within normal operational parameters.")
103
 
104
  with col2: