Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions RescueBox-Desktop/build/installer.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ Function .onInstSuccess
Strcpy "$INSTDIR_DAT" "$INSTDIR\resources\assets\rb_server"
ExpandEnvStrings $0 %COMSPEC%
ExecWait '"$0" /C "msiexec /i $INSTDIR_DAT\winfsp-2.0.23075.msi INSTALLLEVEL=1000 /passive"'
Var /GLOBAL O_LOG
Strcpy "$O_LOG" "$AppData\RescueBox-Desktop\logs\o.log"
Exec '"$0" /C "$INSTDIR_DAT\OllamaSetup.exe /verysilent /SP /SUPPRESSMSGBOXES /log=$O_LOG"'

FunctionEnd


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import json
from dotenv import load_dotenv
import os
import platform
from pathlib import Path

from face_detection_recognition.utils.resource_path import get_config_path

Expand Down Expand Up @@ -38,17 +40,15 @@ def __init__(self):
settings = Settings(
anonymized_telemetry=False,
)
db_path = Path.home() / ".rescueBox-desktop" / "facematch"
if platform.system() == "Windows":
appdata = os.environ.get("APPDATA")
db_path = Path(appdata) / "RescueBox-Desktop" / "facematch"
if not db_path.exists():
db_path.mkdir(parents=True, exist_ok=True)
self.client = chromadb.PersistentClient(
settings=settings,
path=os.path.abspath(
os.path.join(
os.getcwd(),
"src",
"face-detection-recognition",
"resources",
"data",
)
),
path=str(db_path),
)

def create_full_collection_name(self, base_name, detector, model, isEnsemble):
Expand Down
1 change: 0 additions & 1 deletion src/text-summary/output/story_1.txt

This file was deleted.

1 change: 0 additions & 1 deletion src/text-summary/output/story_2.txt

This file was deleted.

1 change: 0 additions & 1 deletion src/text-summary/output/story_3.txt

This file was deleted.

1 change: 0 additions & 1 deletion src/text-summary/test_output/story_1.txt

This file was deleted.

1 change: 0 additions & 1 deletion src/text-summary/test_output/story_2.txt

This file was deleted.

1 change: 0 additions & 1 deletion src/text-summary/test_output/story_3.txt

This file was deleted.