Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -188,11 +188,6 @@ def generate_messages(description, advantages, gpt4o_temperature, gigachat_pro_t
|
|
188 |
gigachat_pro_display = f"{results['gigachat_pro']}\n\n------\nКоличество знаков: {gigachat_pro_length}"
|
189 |
yield results["prompt"], gpt4o_display, gigachat_pro_display, "", "", "Сообщение GigaChat-Pro сгенерировано"
|
190 |
|
191 |
-
time.sleepI see that the message was cut off, so I’ll continue from where it left off.
|
192 |
-
|
193 |
-
### Обновленный код (продолжение):
|
194 |
-
|
195 |
-
```python
|
196 |
time.sleep(2)
|
197 |
|
198 |
results["gigachat_lite"] = generate_message_gigachat_lite_with_retry(standard_prompt, gigachat_lite_temperature)
|
|
|
188 |
gigachat_pro_display = f"{results['gigachat_pro']}\n\n------\nКоличество знаков: {gigachat_pro_length}"
|
189 |
yield results["prompt"], gpt4o_display, gigachat_pro_display, "", "", "Сообщение GigaChat-Pro сгенерировано"
|
190 |
|
|
|
|
|
|
|
|
|
|
|
191 |
time.sleep(2)
|
192 |
|
193 |
results["gigachat_lite"] = generate_message_gigachat_lite_with_retry(standard_prompt, gigachat_lite_temperature)
|