NoaiGPT commited on
Commit
6f18550
·
1 Parent(s): 339ee4d
Files changed (1) hide show
  1. app.py +1 -1
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 = 5
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(