Jay-Rajput commited on
Commit
5391c7d
·
1 Parent(s): 08cd11e

fixaidetector

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def detect(req: DetectReq, _=Depends(verify_key)):
72
  """
73
  Detect whether the text is AI-generated or human-written.
74
  """
75
- report = detector.generate_report(req.text)
76
  return DetectResp(**report)
77
 
78
  # if __name__ == "__main__":
 
72
  """
73
  Detect whether the text is AI-generated or human-written.
74
  """
75
+ report = detector.detect(req.text)
76
  return DetectResp(**report)
77
 
78
  # if __name__ == "__main__":