Spaces:
Sleeping
Sleeping
fruitpicker01
commited on
Commit
•
8d8d43b
1
Parent(s):
8779283
Update app.py
Browse files
app.py
CHANGED
@@ -546,7 +546,7 @@ def notify_failed_checks(checks):
|
|
546 |
def generate_message_mistral_with_retry(prompt, approach_name, description, key_message, product_name, benefits):
|
547 |
global approach_stats
|
548 |
last_message = None
|
549 |
-
for attempt in range(
|
550 |
gr.Info(f"Итерация {attempt + 1}: генерируется сообщение...")
|
551 |
message = generate_message_mistral_generate(prompt)
|
552 |
if message is None:
|
|
|
546 |
def generate_message_mistral_with_retry(prompt, approach_name, description, key_message, product_name, benefits):
|
547 |
global approach_stats
|
548 |
last_message = None
|
549 |
+
for attempt in range(1):
|
550 |
gr.Info(f"Итерация {attempt + 1}: генерируется сообщение...")
|
551 |
message = generate_message_mistral_generate(prompt)
|
552 |
if message is None:
|