Spaces:
Running
Running
TahaFawzyElshrif commited on
Commit ·
e71659b
1
Parent(s): df2311d
debug
Browse files
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
|