Jay-Rajput commited on
Commit
08cd11e
·
1 Parent(s): 5b9289f

aidetector

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -24,10 +24,11 @@ class DetectReq(BaseModel):
24
  text: str
25
 
26
  class DetectResp(BaseModel):
27
- ai_probability: float
28
- human_probability: float
29
- classification: str
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