diff --git a/Readme.md b/Readme.md index 77039dd1..6eae68bb 100644 --- a/Readme.md +++ b/Readme.md @@ -158,6 +158,18 @@ docker-compose up -d ### Upgrade +### Using Pip +```shell +# To Upgrade To Latest Stable Release +pip install --upgrade khoj-assistant + +# To Upgrade To Latest Pre-Release +pip install --upgrade --pre khoj-assistant + +# To Upgrade To Specific Development Release +pip install -r testpypi khoj-assistant==0.1.5.dev491659577806 +``` + #### Using Docker ``` shell diff --git a/src/interface/web/index.html b/src/interface/web/index.html index 27dcfa57..9a76b677 100644 --- a/src/interface/web/index.html +++ b/src/interface/web/index.html @@ -1,6 +1,7 @@ + Khoj diff --git a/src/main.py b/src/main.py index 75f793a8..0c5facea 100644 --- a/src/main.py +++ b/src/main.py @@ -143,7 +143,7 @@ def search(q: str, n: Optional[int] = 5, t: Optional[SearchType] = None, r: Opti @app.get('/reload') -def regenerate(t: Optional[SearchType] = None): +def reload(t: Optional[SearchType] = None): global model device = torch.device("cuda:0") if torch.cuda.is_available() else torch.device("cpu") model = initialize_search(config, regenerate=False, t=t, device=device)