WebashalarForML commited on
Commit
86bcd45
·
verified ·
1 Parent(s): f406703

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -238,8 +238,9 @@ def predict():
238
  def process_dataframe(df):
239
  try:
240
  # Define the columns needed for two parts.
241
- required_columns = ['Tag', 'EngCts', 'EngShp', 'EngQua', 'EngCol', 'EngCut',
242
- 'EngPol', 'EngSym', 'EngFlo', 'EngNts', 'EngMikly', 'EngAmt']
 
243
  required_columns_2 = required_columns + ['EngBlk', 'EngWht', 'EngOpen', 'EngPav']
244
 
245
  # Create two DataFrames: one for prediction and one for classification.
 
238
  def process_dataframe(df):
239
  try:
240
  # Define the columns needed for two parts.
241
+ required_columns = ['Tag', 'EngCts', 'EngShp', 'EngQua', 'EngCol', 'EngCut', 'EngPol',
242
+ 'EngSym', 'EngFlo', 'EngNts', 'EngMikly', 'EngBlk', 'EngWht', 'EngOpen',
243
+ 'EngPav', 'EngAmt']
244
  required_columns_2 = required_columns + ['EngBlk', 'EngWht', 'EngOpen', 'EngPav']
245
 
246
  # Create two DataFrames: one for prediction and one for classification.