Spaces:
Runtime error
Runtime error
Commit
·
5391c7d
1
Parent(s):
08cd11e
fixaidetector
Browse files
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.
|
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__":
|