Synced repo using 'sync_with_huggingface' Github Action
Browse files- fact_checker.py +1 -1
fact_checker.py
CHANGED
|
@@ -74,7 +74,7 @@ class FactChecker:
|
|
| 74 |
# outputs = self.claim_model.generate(**tok_input)
|
| 75 |
# claims = self.claim_tokenizer.batch_decode(outputs, skip_special_tokens=True)
|
| 76 |
# claims = [claim.strip() for claim in claims if len(claim.strip()) > 0]
|
| 77 |
-
return text
|
| 78 |
|
| 79 |
|
| 80 |
def verify_single_claim(self, claim, confidence_threshold=0.5):
|
|
|
|
| 74 |
# outputs = self.claim_model.generate(**tok_input)
|
| 75 |
# claims = self.claim_tokenizer.batch_decode(outputs, skip_special_tokens=True)
|
| 76 |
# claims = [claim.strip() for claim in claims if len(claim.strip()) > 0]
|
| 77 |
+
return [text]
|
| 78 |
|
| 79 |
|
| 80 |
def verify_single_claim(self, claim, confidence_threshold=0.5):
|