Tushar Malik commited on
Commit
4071d0f
·
verified ·
1 Parent(s): 48c261a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -511,7 +511,7 @@ def chatbot_interface(user_query, response_style, selected_retrieval_methods, se
511
  chatbot = MistralRAGChatbot(vector_db_path, annoy_index_path)
512
 
513
  selected_retrieval_methods_list = [method.strip() for method in selected_retrieval_methods.split(',') if method.strip()]
514
- selected_reranking_methods_list = [method.strip() for method in selected_reranking_methods.split(',') if method.strip()]
515
 
516
  response, retrieved_docs, source_info = asyncio.run(chatbot.generate_response_with_rag(
517
  user_query=user_query,
 
511
  chatbot = MistralRAGChatbot(vector_db_path, annoy_index_path)
512
 
513
  selected_retrieval_methods_list = [method.strip() for method in selected_retrieval_methods.split(',') 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(
517
  user_query=user_query,