- Fix nested data/data/ directory structure in HuggingFace Spaces
- Update ui_components.py to use config-based data paths instead of hardcoded 'data'
- Add symlink filtering to prevent circular directory references
- Add search_indexes to excluded folders list
- Modify setup_datasets.py to extract HF repo data/ contents directly to target directory
- Prevents nested structure: data/data/checklist -> data/checklist
Resolves project selector showing incorrect 'Data (5 rooms, 974 docs)' option.
Now correctly displays only VDR projects:
- Automated Services Transformation (1 rooms, 477 docs)
- Industrial Security Leadership (1 rooms, 491 docs)
fix: resolve deployment crash with missing VDR directoryโ
Juan Salas
3632723
- Make config validation deployment-aware to handle missing data gracefully
- Add environment detection for Streamlit/HF deployment contexts
- Improve dataset download script with retry logic and better error handling
- Add force retry option for partial downloads
- Provide clear feedback about HF_TOKEN authentication requirements
Fixes 'Critical directory vdrs_dir does not exist' error in deployment environments
๐ Refactor: Move datasets to HuggingFace reposโ
Juan Salas
9a71b8f
- Remove all data files from git tracking (now downloaded from HF repos)
- Add scripts to download datasets from jmzlx/dd-framework, jmzlx/dd-indexes, jmzlx/dd-vdrs
- Add scripts to upload datasets to HuggingFace repos
- Update .gitignore to exclude data/ directory
- Datasets now downloaded on-demand using setup_datasets.py
- Streamlit cloud config improvements