Spaces:
Runtime error
Runtime error
ad
Browse files
app.py
CHANGED
@@ -256,7 +256,7 @@ def humanize_text(AI_text):
|
|
256 |
prediction = get_prediction(humanized_text)
|
257 |
print(prediction)
|
258 |
|
259 |
-
if prediction['label'] == 'human' and prediction['score'] > 0.
|
260 |
break
|
261 |
|
262 |
attempts += 1
|
|
|
256 |
prediction = get_prediction(humanized_text)
|
257 |
print(prediction)
|
258 |
|
259 |
+
if prediction['label'] == 'human' and prediction['score'] > 0.7:
|
260 |
break
|
261 |
|
262 |
attempts += 1
|