Spaces:
Runtime error
Runtime error
Update gptzero_free.py
Browse files- gptzero_free.py +1 -1
gptzero_free.py
CHANGED
@@ -33,7 +33,7 @@ class GPT2PPL:
|
|
33 |
# else:
|
34 |
# label = 1
|
35 |
# return "The Text is written by Human.", label
|
36 |
-
return {"HUMAN": threshold, "AI": 1 - threshold}
|
37 |
|
38 |
def __call__(self, sentence):
|
39 |
"""
|
|
|
33 |
# else:
|
34 |
# label = 1
|
35 |
# return "The Text is written by Human.", label
|
36 |
+
return {"HUMAN": threshold/100, "AI": 1 - (threshold/100)}
|
37 |
|
38 |
def __call__(self, sentence):
|
39 |
"""
|