Skip to content

pkiage/scripture-semantic-search

Repository files navigation

title emoji colorFrom colorTo sdk sdk_version app_file pinned
Scripture Semantic Search
📖
blue
blue
gradio
3.23.0
app.py
false

Local Setup

Obtain the repo locally and open its root folder

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

(optional) Setup virtual environment:

python -m venv venv

(optional) Activate virtual environment:

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

Initial Data

General Reference

Gradio Space Setup (Hugging Face)

git remote add space https://huggingface.co/spaces/pkiage/scripture-semantic-search

git push --force space main

Git LFS

Track files

 git lfs track "*.parquet" "*.pkl" "*.json" "*.bin"

Show files tracked

git lfs ls-files

Migrate existing untracked data after commit (example: *bin)

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