Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ def predict_and_log(data, prediction_column, process_text_column, true_label_col
|
|
60 |
logging.info(f"Row {data_id}: True Label - {true_label}, Predicted - {highest_score_label}")
|
61 |
|
62 |
# Predict and log results for each DataFrame
|
63 |
-
predict_and_log(data, 'Predicted', 'processed_text', true_label_column='True_label', custom_labels=['MAX1', 'MAX2', 'MAX3'])
|
64 |
predict_and_log(data_open, 'Predicted_F', 'processed_text_open', true_label_column='True_label')
|
65 |
predict_and_log(data_open, 'Predicted_M', 'processed_text_mopen', true_label_column='True_label')
|
66 |
|
|
|
60 |
logging.info(f"Row {data_id}: True Label - {true_label}, Predicted - {highest_score_label}")
|
61 |
|
62 |
# Predict and log results for each DataFrame
|
63 |
+
# predict_and_log(data, 'Predicted', 'processed_text', true_label_column='True_label', custom_labels=['MAX1', 'MAX2', 'MAX3'])
|
64 |
predict_and_log(data_open, 'Predicted_F', 'processed_text_open', true_label_column='True_label')
|
65 |
predict_and_log(data_open, 'Predicted_M', 'processed_text_mopen', true_label_column='True_label')
|
66 |
|