Update human_text_detect.py
Browse files- human_text_detect.py +1 -1
human_text_detect.py
CHANGED
@@ -159,7 +159,7 @@ def detect_human_text(model_name, topic, text):
|
|
159 |
|
160 |
threshold = get_threshold_obj(model_name, topic)
|
161 |
print(f"threshold: {threshold}, results: {results}")
|
162 |
-
return round((results / threshold) - 1, 2), results, res['sentences']
|
163 |
|
164 |
# Convert article text into object
|
165 |
def get_article_obj(text):
|
|
|
159 |
|
160 |
threshold = get_threshold_obj(model_name, topic)
|
161 |
print(f"threshold: {threshold}, results: {results}")
|
162 |
+
return round((results / threshold) - 1, 2), round(results, 2), res['sentences']
|
163 |
|
164 |
# Convert article text into object
|
165 |
def get_article_obj(text):
|