Spaces:
Sleeping
Sleeping
Update utils.py
Browse files
utils.py
CHANGED
|
@@ -160,7 +160,7 @@ def answer_question(question, query_engine, reranker, current_model, chunks_df=N
|
|
| 160 |
|
| 161 |
answer_with_time = f"""<div style='background-color: #2d3748; color: white; padding: 20px; border-radius: 10px; margin-bottom: 10px;'>
|
| 162 |
<h3 style='color: #63b3ed; margin-top: 0;'>Ответ (Модель: {current_model}):</h3>
|
| 163 |
-
<div style='line-height: 1.6; font-size: 16px;'>{response.response}</div>
|
| 164 |
<div style='margin-top: 15px; padding-top: 10px; border-top: 1px solid #4a5568; font-size: 14px; color: #a0aec0;'>
|
| 165 |
Время обработки: {processing_time:.2f} секунд
|
| 166 |
</div>
|
|
|
|
| 160 |
|
| 161 |
answer_with_time = f"""<div style='background-color: #2d3748; color: white; padding: 20px; border-radius: 10px; margin-bottom: 10px;'>
|
| 162 |
<h3 style='color: #63b3ed; margin-top: 0;'>Ответ (Модель: {current_model}):</h3>
|
| 163 |
+
<div style='line-height: 1.6; font-size: 16px; color: white;'>{response.response}</div>
|
| 164 |
<div style='margin-top: 15px; padding-top: 10px; border-top: 1px solid #4a5568; font-size: 14px; color: #a0aec0;'>
|
| 165 |
Время обработки: {processing_time:.2f} секунд
|
| 166 |
</div>
|