Download scripts/refresh_db.sh from voidful/RefCheck: direct link, hf CLI and curl.
- Browser
- Download file 503 Bytes
-
https://huggingface.co/spaces/voidful/RefCheck/resolve/main/scripts/refresh_db.sh
- Command line
-
hf download hf://spaces/voidful/RefCheck/scripts/refresh_db.sh
-
curl -L -o refresh_db.sh https://huggingface.co/spaces/voidful/RefCheck/resolve/main/scripts/refresh_db.sh
503 Bytes
| # Refresh the local DBLP conference database. | |
| # Run this before paper submission to ensure the DB is up to date. | |
| set -e | |
| SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" | |
| PROJECT_DIR="$(dirname "$SCRIPT_DIR")" | |
| echo "π Refreshing conference database..." | |
| # 1. Download new bib files (only those not yet downloaded) | |
| python "$SCRIPT_DIR/update_db.py" | |
| # 2. Rebuild the index | |
| python "$SCRIPT_DIR/build_index.py" | |
| echo "" | |
| echo "β DB refreshed." | |
| echo " Run: python main.py --bib your_paper.bib" | |