antimoda1 commited on
Commit
97056fc
·
1 Parent(s): 46895ea
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -82,11 +82,6 @@ def ask_llm(query, filtered_indices_state):
82
  yield "Введите вопрос"
83
  return
84
 
85
- if not filtered_indices_state:
86
- yield "Нет выбранных чанков для отправки в LLM"
87
- return
88
-
89
- # Форматируем контекст используя ту же функцию, что и в интерфейсе
90
  context = perform.format_retrieval_results(filtered_indices_state)
91
 
92
  if not context or context == "Нет валидных чанков":
 
82
  yield "Введите вопрос"
83
  return
84
 
 
 
 
 
 
85
  context = perform.format_retrieval_results(filtered_indices_state)
86
 
87
  if not context or context == "Нет валидных чанков":