Spaces:
Build error
Build error
Commit ·
ecc53f5
1
Parent(s): 0ec0371
update
Browse files331 unmodified lines332333334335336337338339340341342343344345346331 unmodified lines# Please use ground_truth[ground_truth_key]['answer'].upper() if running verification taskmodel_prediction = ground_truth[ground_truth_key]['prediction'].upper()if user_prediction.upper() == model_prediction:# correct_predictions += 1true_predictions += 1else:false_predictions += 1# if user_prediction.upper() == "TRUE":# true_predictions += 1# elif user_prediction.upper() == "FALSE":# false_predictions += 1else:logger.warning(f"Missing key in ground truth: {ground_truth_key}")331 unmodified lines332333334335336337338339340341342343331 unmodified lines# Please use ground_truth[ground_truth_key]['answer'].upper() if running verification taskmodel_prediction = ground_truth[ground_truth_key]['prediction'].upper()if user_prediction.upper() == model_prediction:correct_predictions += 1if user_prediction.upper() == "TRUE":true_predictions += 1elif user_prediction.upper() == "FALSE":false_predictions += 1else:logger.warning(f"Missing key in ground truth: {ground_truth_key}")
app.py+4-7