Sonny4Sonnix commited on
Commit
e026fae
·
1 Parent(s): d6bc2ab

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -53,7 +53,7 @@ async def predict(input: InputFeatures):
53
  ])
54
 
55
  df = pd.DataFrame([input])
56
- final_input = np.array(predict_input.fit_transform(df), dtype=np.str) # Check predict_input, maybe it should be XGB
57
  prediction = model_input.predict(np.array([final_input]).reshape(1, -1))
58
 
59
  return prediction
 
53
  ])
54
 
55
  df = pd.DataFrame([input])
56
+ final_input = np.array(full_pipeline.fit_transform(df), dtype=np.str) # Check predict_input, maybe it should be XGB
57
  prediction = model_input.predict(np.array([final_input]).reshape(1, -1))
58
 
59
  return prediction