Spaces:
Sleeping
Sleeping
Tushar Malik
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -510,7 +510,7 @@ def chatbot_interface(user_query, response_style, selected_retrieval_methods, se
|
|
| 510 |
|
| 511 |
chatbot = MistralRAGChatbot(vector_db_path, annoy_index_path)
|
| 512 |
|
| 513 |
-
selected_retrieval_methods_list = [method.strip() for method in selected_retrieval_methods
|
| 514 |
selected_reranking_methods_list = [method.strip() for method in selected_reranking_methods if method.strip()]
|
| 515 |
|
| 516 |
response, retrieved_docs, source_info = asyncio.run(chatbot.generate_response_with_rag(
|
|
|
|
| 510 |
|
| 511 |
chatbot = MistralRAGChatbot(vector_db_path, annoy_index_path)
|
| 512 |
|
| 513 |
+
selected_retrieval_methods_list = [method.strip() for method in selected_retrieval_methods if method.strip()]
|
| 514 |
selected_reranking_methods_list = [method.strip() for method in selected_reranking_methods if method.strip()]
|
| 515 |
|
| 516 |
response, retrieved_docs, source_info = asyncio.run(chatbot.generate_response_with_rag(
|