saritha5 commited on
Commit
6919a3b
1 Parent(s): 2144e21

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 'Rouge Component is Good'
123
  else:
124
- return 'Rouge 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')
 
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')