TahaFawzyElshrif commited on
Commit
e71659b
·
1 Parent(s): df2311d
Files changed (1) hide show
  1. Server.py +1 -0
Server.py CHANGED
@@ -27,6 +27,7 @@ def get_response(prompt,memory,hf_key,state,user_email,user_name):
27
  llm_gpt = ChatHuggingFace(llm=llm_gpt)
28
 
29
  rag_model = rag_text_chooser(os.path.join(os.path.dirname(__file__), 'agent' ,'rag', 'rag.xlsx'))
 
30
 
31
  # update state
32
  state["question"] = prompt
 
27
  llm_gpt = ChatHuggingFace(llm=llm_gpt)
28
 
29
  rag_model = rag_text_chooser(os.path.join(os.path.dirname(__file__), 'agent' ,'rag', 'rag.xlsx'))
30
+ print("RAG_PATH ",os.path.join(os.path.dirname(__file__), 'agent' ,'rag', 'rag.xlsx'))
31
 
32
  # update state
33
  state["question"] = prompt