Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,6 +21,8 @@ warnings.filterwarnings('ignore')
|
|
| 21 |
|
| 22 |
st.title("Prediction of Maximum Number of Repairs")
|
| 23 |
st.sidebar.header('Enter the Components Details here')
|
|
|
|
|
|
|
| 24 |
import pandas as pd
|
| 25 |
import numpy as np
|
| 26 |
import pickle
|
|
@@ -79,9 +81,9 @@ def user_report():
|
|
| 79 |
|
| 80 |
#Customer Data
|
| 81 |
user_data = user_report()
|
| 82 |
-
st.
|
| 83 |
st.write(user_data)
|
| 84 |
-
|
| 85 |
|
| 86 |
# define the prediction function
|
| 87 |
def predict_max_number_of_repairs(user_data):
|
|
|
|
| 21 |
|
| 22 |
st.title("Prediction of Maximum Number of Repairs")
|
| 23 |
st.sidebar.header('Enter the Components Details here')
|
| 24 |
+
st.write("""This model helps to know the probable maximum number of times a component can be repaired.
|
| 25 |
+
After which, we can straight away replace it with a new component""")
|
| 26 |
import pandas as pd
|
| 27 |
import numpy as np
|
| 28 |
import pickle
|
|
|
|
| 81 |
|
| 82 |
#Customer Data
|
| 83 |
user_data = user_report()
|
| 84 |
+
st.subheader("Component Details")
|
| 85 |
st.write(user_data)
|
| 86 |
+
st.write("Click here to see the Predictions")
|
| 87 |
|
| 88 |
# define the prediction function
|
| 89 |
def predict_max_number_of_repairs(user_data):
|