Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def user_report():
|
|
34 |
else:
|
35 |
Aircraft_Type=1
|
36 |
manufacturer = st.sidebar.selectbox("Manufacturer",
|
37 |
-
("JKL Company", "GHI Company","AGS Company","ABC Company","
|
38 |
if manufacturer=='JKL Company':
|
39 |
manufacturer=3
|
40 |
elif manufacturer=="GHI Company":
|
@@ -154,4 +154,4 @@ def prediction(df):
|
|
154 |
y_pred = prediction(user_data)
|
155 |
|
156 |
if st.button("Predict"):
|
157 |
-
st.subheader(f"Time required to Repairs the Component is {y_pred}
|
|
|
34 |
else:
|
35 |
Aircraft_Type=1
|
36 |
manufacturer = st.sidebar.selectbox("Manufacturer",
|
37 |
+
("JKL Company", "GHI Company","AGS Company","ABC Company","XYZ Company" ))
|
38 |
if manufacturer=='JKL Company':
|
39 |
manufacturer=3
|
40 |
elif manufacturer=="GHI Company":
|
|
|
154 |
y_pred = prediction(user_data)
|
155 |
|
156 |
if st.button("Predict"):
|
157 |
+
st.subheader(f"Time required to Repairs the Component is {y_pred} hours")
|