Spaces:
Runtime error
Runtime error
Update RAG/Retriever.py
Browse files- RAG/Retriever.py +1 -0
RAG/Retriever.py
CHANGED
|
@@ -18,6 +18,7 @@ userdata = {
|
|
| 18 |
gemini_key = userdata.get("GEMINI_API_KEY")
|
| 19 |
parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
| 20 |
pkl_path = os.path.join(parent_dir, 'split_docs.pkl')
|
|
|
|
| 21 |
# sync
|
| 22 |
# Load docs later
|
| 23 |
with open(pkl_path, 'rb') as f:
|
|
|
|
| 18 |
gemini_key = userdata.get("GEMINI_API_KEY")
|
| 19 |
parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
| 20 |
pkl_path = os.path.join(parent_dir, 'split_docs.pkl')
|
| 21 |
+
print('pkl_path:',pkl_path)
|
| 22 |
# sync
|
| 23 |
# Load docs later
|
| 24 |
with open(pkl_path, 'rb') as f:
|