Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -105,7 +105,7 @@ class FactChecker(Tool):
|
|
| 105 |
self.inputs = {"claim": {"type": "string", "description": "The claim to fact-check"}}
|
| 106 |
self.output_type = "string"
|
| 107 |
|
| 108 |
-
def
|
| 109 |
"""Assess factual accuracy of a claim"""
|
| 110 |
confidence_indicators = {
|
| 111 |
'high': ['wikipedia', 'well-known', 'documented', 'official', 'verified'],
|
|
|
|
| 105 |
self.inputs = {"claim": {"type": "string", "description": "The claim to fact-check"}}
|
| 106 |
self.output_type = "string"
|
| 107 |
|
| 108 |
+
def forward(self, claim: str) -> str:
|
| 109 |
"""Assess factual accuracy of a claim"""
|
| 110 |
confidence_indicators = {
|
| 111 |
'high': ['wikipedia', 'well-known', 'documented', 'official', 'verified'],
|