nv185001 commited on
Commit
f671f5c
·
verified ·
1 Parent(s): 0a61d28

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -13,13 +13,12 @@ st.title("Engine Failure Prediction App")
13
  st.write("The Engine Failure Prediction App is an internal tool to predict whether engine would fail due to current vital parameters.")
14
  st.write("Kindly enter different parameters of engine to check whether they are likely to fail or not")
15
 
16
- Engine_rpm = st.number_input("Engine RPM", min_value=0 )
17
- Lub_oil_pressure = st.number_input("Lub Oil Pressure", min_value=0)
18
- Fuel_pressure = st.number_input("Fuel Pressure", min_value=0)
19
- Coolant_pressure = st.number_input("Coolant Pressure", min_value=0)
20
- lub_oil_temp = st.number_input("Lub Oil Temperature", min_value=0)
21
- Coolant_temp = st.number_input("Coolant Temperature", min_value=0)
22
-
23
 
24
  input_data = pd.DataFrame([{
25
  'Engine_rpm': Engine_rpm,
 
13
  st.write("The Engine Failure Prediction App is an internal tool to predict whether engine would fail due to current vital parameters.")
14
  st.write("Kindly enter different parameters of engine to check whether they are likely to fail or not")
15
 
16
+ Engine_rpm = st.number_input("Engine RPM", min_value=0.0, format="%.9f")
17
+ Lub_oil_pressure = st.number_input("Lub Oil Pressure", min_value=0.0, format="%.9f")
18
+ Fuel_pressure = st.number_input("Fuel Pressure", min_value=0.0, format="%.9f")
19
+ Coolant_pressure = st.number_input("Coolant Pressure", min_value=0.0, format="%.9f")
20
+ lub_oil_temp = st.number_input("Lub Oil Temperature", min_value=0.0, format="%.9f")
21
+ Coolant_temp = st.number_input("Coolant Temperature", min_value=0.0, format="%.9f")
 
22
 
23
  input_data = pd.DataFrame([{
24
  'Engine_rpm': Engine_rpm,