Update app.py
Browse files
app.py
CHANGED
@@ -597,7 +597,7 @@ with gr.Blocks(theme='sudeepshouche/minimalist', css=css) as demo:
|
|
597 |
chat_history_engine = summarize_assistant_messages(chat_history_engine)
|
598 |
|
599 |
# Engine:
|
600 |
-
retriever_tools = [
|
601 |
print("Choise: " + str(retriever_tools))
|
602 |
# Configuraci贸n din谩mica de RouterRetriever y engine
|
603 |
retriever = RouterRetriever(
|
|
|
597 |
chat_history_engine = summarize_assistant_messages(chat_history_engine)
|
598 |
|
599 |
# Engine:
|
600 |
+
retriever_tools = [tool for choice, tool in choices_with_tools if choice in selected_choices]
|
601 |
print("Choise: " + str(retriever_tools))
|
602 |
# Configuraci贸n din谩mica de RouterRetriever y engine
|
603 |
retriever = RouterRetriever(
|