VladimirVorobev commited on
Commit
f84d38d
1 Parent(s): f63d81c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -157,7 +157,7 @@ def check_request_validity(func):
157
  if 'нет' in llm_chain.run(query).lower():
158
  return 'Невалидный запрос', '', ''
159
 
160
- return func(query, llm_type, llm_answer_type, use_llm_for_retriever)
161
 
162
  return wrapper
163
 
 
157
  if 'нет' in llm_chain.run(query).lower():
158
  return 'Невалидный запрос', '', ''
159
 
160
+ return func(chatgpt_key, gigachat_key, query, llm_type, llm_answer_type, use_llm_for_retriever)
161
 
162
  return wrapper
163