Spaces:
Configuration error
Configuration error
Download src/rag_chatbot/shared/paths.py from nhabibi/HF-RAGChatbot-Streamlit: direct link, hf CLI and curl.
- Browser
- Download file 252 Bytes
-
https://huggingface.co/spaces/nhabibi/HF-RAGChatbot-Streamlit/resolve/main/src/rag_chatbot/shared/paths.py
- Command line
-
hf download hf://spaces/nhabibi/HF-RAGChatbot-Streamlit/src/rag_chatbot/shared/paths.py
-
curl -L -o paths.py https://huggingface.co/spaces/nhabibi/HF-RAGChatbot-Streamlit/resolve/main/src/rag_chatbot/shared/paths.py
252 Bytes
| """Repository paths used by the package (the package lives in src/rag_chatbot).""" | |
| from pathlib import Path | |
| PROJECT_ROOT = Path(__file__).resolve().parents[3] | |
| DATA_ROOT = PROJECT_ROOT / "data" | |
| DATACARD_MODELS_DIR = DATA_ROOT / "datacards" / "models" | |