Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ def predict_churn():
|
|
| 30 |
input_data = pd.DataFrame([sample])
|
| 31 |
|
| 32 |
prediction = model.predict(input_data).tolist()[0]
|
| 33 |
-
print("*********************** Prediction: ", prediction, file=sys.
|
| 34 |
|
| 35 |
prediction_label = 'churn' if prediction == 1 else 'not churn'
|
| 36 |
|
|
|
|
| 30 |
input_data = pd.DataFrame([sample])
|
| 31 |
|
| 32 |
prediction = model.predict(input_data).tolist()[0]
|
| 33 |
+
print("*********************** Prediction: ", prediction, file=sys.stderr)
|
| 34 |
|
| 35 |
prediction_label = 'churn' if prediction == 1 else 'not churn'
|
| 36 |
|