fruitpicker01 commited on
Commit
1cfc5bc
1 Parent(s): c430b58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -548,7 +548,7 @@ def notify_failed_checks(checks):
548
  def generate_message_mistral_with_retry(prompt, approach_name, description, key_message, product_name, benefits):
549
  global approach_stats
550
  last_message = None
551
- for attempt in range(1):
552
  gr.Info(f"Итерация {attempt + 1}: генерируется сообщение...")
553
  message = generate_message_mistral_generate(prompt)
554
  if message is None:
 
548
  def generate_message_mistral_with_retry(prompt, approach_name, description, key_message, product_name, benefits):
549
  global approach_stats
550
  last_message = None
551
+ for attempt in range(20):
552
  gr.Info(f"Итерация {attempt + 1}: генерируется сообщение...")
553
  message = generate_message_mistral_generate(prompt)
554
  if message is None: