Spaces:
Runtime error
Runtime error
asd
Browse files
app.py
CHANGED
@@ -153,7 +153,7 @@ def humanize_text(AI_text):
|
|
153 |
"""Humanizes the provided AI text using the fine-tuned model."""
|
154 |
humanized_text = AI_text
|
155 |
attempts = 0
|
156 |
-
max_attempts =
|
157 |
|
158 |
while attempts < max_attempts:
|
159 |
response = client.chat.completions.create(
|
|
|
153 |
"""Humanizes the provided AI text using the fine-tuned model."""
|
154 |
humanized_text = AI_text
|
155 |
attempts = 0
|
156 |
+
max_attempts = 10
|
157 |
|
158 |
while attempts < max_attempts:
|
159 |
response = client.chat.completions.create(
|