Spaces:
Runtime error
Runtime error
Commit
·
08cd11e
1
Parent(s):
5b9289f
aidetector
Browse files
app.py
CHANGED
|
@@ -24,10 +24,11 @@ class DetectReq(BaseModel):
|
|
| 24 |
text: str
|
| 25 |
|
| 26 |
class DetectResp(BaseModel):
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
metrics: dict
|
|
|
|
| 31 |
|
| 32 |
# =========================
|
| 33 |
# API Key verification
|
|
|
|
| 24 |
text: str
|
| 25 |
|
| 26 |
class DetectResp(BaseModel):
|
| 27 |
+
summary: str
|
| 28 |
+
overall_ai_probability: float
|
| 29 |
+
category_distribution: dict
|
| 30 |
metrics: dict
|
| 31 |
+
interpretation: str
|
| 32 |
|
| 33 |
# =========================
|
| 34 |
# API Key verification
|