Kackle commited on
Commit
ed3eccd
·
verified ·
1 Parent(s): 765bee3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 check_facts(self, claim: str) -> str:
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'],