Spaces:
Runtime error
Runtime error
asd
Browse files
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.
|
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
|