Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -15,12 +15,48 @@ Please enter the sensor and configuration data below to get a prediction.
|
|
| 15 |
""")
|
| 16 |
|
| 17 |
# User input
|
| 18 |
-
Engine_rpm = st.number_input(
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
# Assemble input into DataFrame
|
| 26 |
input_data = pd.DataFrame([{
|
|
|
|
| 15 |
""")
|
| 16 |
|
| 17 |
# User input
|
| 18 |
+
Engine_rpm = st.number_input(
|
| 19 |
+
"Engine rpm",
|
| 20 |
+
min_value=0.0,
|
| 21 |
+
max_value=2500.0,
|
| 22 |
+
value=750.0,
|
| 23 |
+
step=10.0
|
| 24 |
+
)
|
| 25 |
+
Lub_oil_pressure = st.number_input(
|
| 26 |
+
"Lub oil pressure",
|
| 27 |
+
min_value=0.0,
|
| 28 |
+
max_value=8.0,
|
| 29 |
+
value=3.2,
|
| 30 |
+
step=0.1
|
| 31 |
+
)
|
| 32 |
+
Fuel_pressure = st.number_input(
|
| 33 |
+
"Fuel pressure",
|
| 34 |
+
min_value=0.0,
|
| 35 |
+
max_value=22.0,
|
| 36 |
+
value=6.2,
|
| 37 |
+
step=0.1
|
| 38 |
+
)
|
| 39 |
+
Coolant_pressure = st.number_input(
|
| 40 |
+
"Coolant pressure",
|
| 41 |
+
min_value=0.0,
|
| 42 |
+
max_value=8.0,
|
| 43 |
+
value=2.2,
|
| 44 |
+
step=0.1
|
| 45 |
+
)
|
| 46 |
+
lub_oil_temp = st.number_input(
|
| 47 |
+
"Lub oil temperature",
|
| 48 |
+
min_value=60.0,
|
| 49 |
+
max_value=100.0,
|
| 50 |
+
value=77.0,
|
| 51 |
+
step=0.5
|
| 52 |
+
)
|
| 53 |
+
Coolant_temp = st.number_input(
|
| 54 |
+
"Coolant temperature",
|
| 55 |
+
min_value=60.0,
|
| 56 |
+
max_value=200.0,
|
| 57 |
+
value=78.0,
|
| 58 |
+
step=0.5
|
| 59 |
+
)
|
| 60 |
|
| 61 |
# Assemble input into DataFrame
|
| 62 |
input_data = pd.DataFrame([{
|