Skip to content

Commit

Permalink
update libs
Browse files Browse the repository at this point in the history
  • Loading branch information
solaoi committed Nov 27, 2023
1 parent 52471c1 commit 7e2d726
Show file tree
Hide file tree
Showing 3 changed files with 173 additions and 152 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
},
"devDependencies": {
"@tauri-apps/cli": "^1.2.3",
"@types/markdown-it": "^13.0.7",
"@types/react": "^18.0.29",
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react": "^3.1.0",
Expand All @@ -36,6 +37,6 @@
"postcss": "^8.4.31",
"tailwindcss": "^3.2.7",
"typescript": "^5.0.2",
"vite": "^4.2.1"
"vite": "^4.2.3"
}
}
9 changes: 6 additions & 3 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ once_cell = "1.13.1"
crossbeam-channel = "0.5.6"
chrono = "0.4.22"
hound = "3.4.0"
whisper-rs = "0.10.0"
rusqlite = "*"
samplerate-rs = "0.1.0"
# download model and openai request
Expand All @@ -34,15 +33,19 @@ tokio = { version = "1", features = ["full"] }
futures-util = "0.3.26"
# serve audio
urlencoding = "2.1.0"

[target.'cfg(target_arch = "x86_64")'.dependencies]
whisper-rs = { version = "0.10.0" }
[target.'cfg(target_arch = "aarch64")'.dependencies]
whisper-rs = { version = "0.10.0", features = ["coreml"] }

[dependencies.tauri-plugin-sql]
git = "https://github.com/tauri-apps/plugins-workspace"
branch = "dev"
features = ["sqlite"]
[dependencies.tauri-plugin-window-state]
git = "https://github.com/tauri-apps/plugins-workspace"
branch = "dev"
[target.'cfg(target_arch = "aarch64")'.dependencies.whisper-rs]
features = ["coreml"]

[features]
# by default Tauri runs in production mode
Expand Down
Loading

0 comments on commit 7e2d726

Please sign in to comment.