Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -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} hours")
|
|
|
|
| 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[0]} hours")
|