NoaiGPT commited on
Commit
339ee4d
·
1 Parent(s): 1e9745f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -176,7 +176,7 @@ def humanize_text(AI_text):
176
  # Check if the humanized text is still detected as AI
177
  prediction = get_prediction(humanized_text)
178
 
179
- if prediction['label'] == 'human' and prediction['score'] > 0.85:
180
  break
181
 
182
  attempts += 1
 
176
  # Check if the humanized text is still detected as AI
177
  prediction = get_prediction(humanized_text)
178
 
179
+ if prediction['label'] == 'human' and prediction['score'] > 0.9:
180
  break
181
 
182
  attempts += 1