Spaces:
Runtime error
Runtime error
asd
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ def humanize_text(AI_text):
|
|
77 |
"""Humanizes the provided AI text using the fine-tuned model."""
|
78 |
humanized_text = AI_text
|
79 |
attempts = 0
|
80 |
-
max_attempts =
|
81 |
|
82 |
while attempts < max_attempts:
|
83 |
response = client.chat.completions.create(
|
|
|
77 |
"""Humanizes the provided AI text using the fine-tuned model."""
|
78 |
humanized_text = AI_text
|
79 |
attempts = 0
|
80 |
+
max_attempts = 5
|
81 |
|
82 |
while attempts < max_attempts:
|
83 |
response = client.chat.completions.create(
|