NoaiGPT commited on
Commit
9394bde
·
1 Parent(s): fdd09d3
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ def humanize_text(AI_text):
99
  # Check if the humanized text is still detected as AI
100
  prediction = get_prediction(humanized_text)
101
 
102
- if prediction['label'] != 'AI' or prediction['score'] < 0.9:
103
  break
104
 
105
  attempts += 1
 
99
  # Check if the humanized text is still detected as AI
100
  prediction = get_prediction(humanized_text)
101
 
102
+ if prediction['label'] != 'AI':
103
  break
104
 
105
  attempts += 1