Update app.py
Browse files
app.py
CHANGED
@@ -119,9 +119,9 @@ def prediction(df):
|
|
119 |
#predicition = []
|
120 |
#for i in list(y_pred):
|
121 |
if y_pred ==0:
|
122 |
-
return '
|
123 |
else:
|
124 |
-
return '
|
125 |
#X_test['Actual_time_to_repair'] = y_test
|
126 |
#X_test['Predicted_time_to_repair'] = predicition
|
127 |
# X_test.to_csv(r'/content/drive/MyDrive/Colab Notebooks/HAL/rogue_test_data.csv')
|
|
|
119 |
#predicition = []
|
120 |
#for i in list(y_pred):
|
121 |
if y_pred ==0:
|
122 |
+
return 'Component is Good'
|
123 |
else:
|
124 |
+
return 'Component is not Good'
|
125 |
#X_test['Actual_time_to_repair'] = y_test
|
126 |
#X_test['Predicted_time_to_repair'] = predicition
|
127 |
# X_test.to_csv(r'/content/drive/MyDrive/Colab Notebooks/HAL/rogue_test_data.csv')
|