Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -16,11 +16,11 @@ st.write("Kindly enter the enging parameters.")
|
|
| 16 |
|
| 17 |
# Get the inputs and save them into a dataframe
|
| 18 |
Engine_rpm = st.number_input("Engine rpms", min_value=0, max_value=5000, value=500)
|
| 19 |
-
Lub_oil_pressure = st.number_input("Lub oil pressure(in kPa)", min_value=
|
| 20 |
-
Fuel_pressure = st.number_input("Fuel pressure (in kPa)", min_value=0, max_value=
|
| 21 |
-
Coolant_pressure = st.number_input("Coolant pressure (in kPa)", min_value=0, max_value=
|
| 22 |
-
lub_oil_temp = st.number_input("Lub oil temprature (in °C)", min_value=0, max_value=
|
| 23 |
-
Coolant_temp = st.number_input("Coolant temprature (in °C)", min_value=
|
| 24 |
|
| 25 |
# Save the inputs into a Dataframe. Convert categorical inputs to match model training
|
| 26 |
input_data = pd.DataFrame([{
|
|
|
|
| 16 |
|
| 17 |
# Get the inputs and save them into a dataframe
|
| 18 |
Engine_rpm = st.number_input("Engine rpms", min_value=0, max_value=5000, value=500)
|
| 19 |
+
Lub_oil_pressure = st.number_input("Lub oil pressure(in kPa)", min_value=0.0, max_value=20.0, value=3.0,format="%.4f")
|
| 20 |
+
Fuel_pressure = st.number_input("Fuel pressure (in kPa)", min_value=0.0, max_value=20.0, value=3.0,format="%.4f")
|
| 21 |
+
Coolant_pressure = st.number_input("Coolant pressure (in kPa)", min_value=0.0, max_value=20.0, value=1.0,format="%.4f")
|
| 22 |
+
lub_oil_temp = st.number_input("Lub oil temprature (in °C)", min_value=0.0, max_value=100.0, value=70.0,format="%.4f")
|
| 23 |
+
Coolant_temp = st.number_input("Coolant temprature (in °C)", min_value=0.0, max_value=250.0, value=100.0,format="%.4f")
|
| 24 |
|
| 25 |
# Save the inputs into a Dataframe. Convert categorical inputs to match model training
|
| 26 |
input_data = pd.DataFrame([{
|