NoaiGPT commited on
Commit
97eb590
·
1 Parent(s): 1cc6f7b
Files changed (1) hide show
  1. app.py +1 -1
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 = 3
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(