title | emoji | colorFrom | colorTo | sdk | sdk_version | app_file | pinned |
---|---|---|---|---|---|---|---|
Scripture Semantic Search |
📖 |
blue |
blue |
gradio |
3.23.0 |
app.py |
false |
To potentially contribute
git clone git@github.com:pkiage/ChatBot-Bible.git
or
gh repo clone gh repo clone pkiage/ChatBot-Bible
To just deploy locally Download ZIP
python -m venv venv
If using Unix based OS run the following in terminal:
.\venv\bin\activate
If using Windows run the following in terminal:
.\venv\Scripts\activate
Install requirements by running the following in terminal:
pip install -r requirements.txt
- https://huggingface.co/docs/hub/spaces-config-reference
- https://huggingface.co/docs/hub/spaces-github-actions
git remote add space https://huggingface.co/spaces/pkiage/scripture-semantic-search
git push --force space main
- When syncing with Hugging Face via Github Actions the User Access Token created on Hugging Face (HF) should have write access
- Run space from main branch since running from other branches currently isn't suppported
- Ensure integrate remote changes (
git pull
) before push to HF space (git push --force space main
)
Track files
git lfs track "*.parquet" "*.pkl" "*.json" "*.bin"
Show files tracked
git lfs ls-files
git lfs migrate import --include="*.bin" --include-ref=refs/heads/main
git push --force
git reflog expire --expire-unreachable=now --all
git gc --prune=now