dvilasuero HF Staff commited on
Commit
95724ee
·
verified ·
1 Parent(s): 77c9fb0

Update tasks/text.py

Browse files
Files changed (1) hide show
  1. tasks/text.py +1 -1
tasks/text.py CHANGED
@@ -67,7 +67,7 @@ async def evaluate_text(request: TextEvaluationRequest):
67
  )
68
 
69
  # Extract texts from the test dataset for inference
70
- texts = [example["text"] for example in test_dataset]
71
 
72
  # Perform predictions using the model
73
  raw_predictions = classifier(texts)
 
67
  )
68
 
69
  # Extract texts from the test dataset for inference
70
+ texts = [example["quote"] for example in test_dataset]
71
 
72
  # Perform predictions using the model
73
  raw_predictions = classifier(texts)