Download test.py from GibChm/rag: direct link, hf CLI and curl.
- Browser
- Download file 190 Bytes
-
https://huggingface.co/spaces/GibChm/rag/resolve/main/test.py
- Command line
-
hf download hf://spaces/GibChm/rag/test.py
-
curl -L -o test.py https://huggingface.co/spaces/GibChm/rag/resolve/main/test.py
190 Bytes
| from retriever import BibleRetriever | |
| retriever = BibleRetriever( | |
| faiss_path="model/bible.faiss", | |
| metadata_path="model/bible_metadata.pkl" | |
| ) | |
| print("Everything loaded successfully!") |