idkash1 commited on
Commit
594b9fd
·
verified ·
1 Parent(s): 452b5b1

Update human_text_detect.py

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