Spaces:
Running
Running
TahaFawzyElshrif commited on
Commit ·
287bd53
1
Parent(s): e4ad155
uploaded files
Browse files
Server.py
CHANGED
|
@@ -26,7 +26,7 @@ def get_response(prompt,memory,hf_key,state,user_email,user_name):
|
|
| 26 |
)
|
| 27 |
llm_gpt = ChatHuggingFace(llm=llm_gpt)
|
| 28 |
|
| 29 |
-
print("RAG_PATH ",os.path.join(os.path.dirname(__file__), 'agent' ,'rag', 'rag.xlsx'))
|
| 30 |
|
| 31 |
rag_model = rag_text_chooser(os.path.join(os.path.dirname(__file__), 'agent' ,'rag', 'rag.xlsx'))
|
| 32 |
|
|
|
|
| 26 |
)
|
| 27 |
llm_gpt = ChatHuggingFace(llm=llm_gpt)
|
| 28 |
|
| 29 |
+
print("RAG_PATH ",os.path.join(os.path.dirname(__file__), 'agent' ,'rag', 'rag.xlsx'), os.path.exists(os.path.join(os.path.dirname(__file__), 'agent' ,'rag', 'rag.xlsx')))
|
| 30 |
|
| 31 |
rag_model = rag_text_chooser(os.path.join(os.path.dirname(__file__), 'agent' ,'rag', 'rag.xlsx'))
|
| 32 |
|