Skip to content

Commit

Permalink
added local model support
Browse files Browse the repository at this point in the history
  • Loading branch information
bhattaraijay05 committed May 5, 2023
1 parent 5702725 commit 3a7c45e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ const isDev: boolean = app.isPackaged ? false : true;
const CHAT_APP_LOCATION = deviceisWindows
? isDev
? usePackaged
? process.cwd() + "/src/models/windows/main"
? process.cwd() + "/src/model/windows/main"
: process.cwd() + "/llama.cpp/build/bin/Release/main"
: process.resourcesPath + "/models/llama/main"
: isDev
? usePackaged
? process.cwd() + "/src/models/mac/main"
? process.cwd() + "/src/model/mac/main"
: process.cwd() + "/llama.cpp/main"
: process.resourcesPath + "/models/llama/main";

Expand Down
Binary file added src/model/mac/main
Binary file not shown.
Binary file added src/model/windows/main.exe
Binary file not shown.

0 comments on commit 3a7c45e

Please sign in to comment.