Skip to content

Commit

Permalink
fix: revert onig hack
Browse files Browse the repository at this point in the history
  • Loading branch information
louis030195 committed Jul 29, 2024
1 parent 788ae74 commit e03b9f9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 23 deletions.
7 changes: 1 addition & 6 deletions screenpipe-audio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ chrono = { version = "0.4.31", features = ["serde"] }
candle = { workspace = true }
candle-nn = { workspace = true }
candle-transformers = { workspace = true }
tokenizers = { version = "0.19.1", default-features = false, features = ["progressbar", "esaxx_fast"] }

tokenizers = { workspace = true }
lazy_static = "1.4.0"
base64 = "0.21.7"
anyhow = "1.0.86"
Expand Down Expand Up @@ -89,7 +88,3 @@ harness = false
name = "stt_benchmark"
harness = false


[target.'cfg(not(target_os = "windows"))'.dependencies.tokenizers]
version = "0.19.1"
features = ["onig"]
6 changes: 1 addition & 5 deletions screenpipe-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,9 @@ anyhow = "1.0.86"
candle = { workspace = true }
candle-nn = { workspace = true }
candle-transformers = { workspace = true }
tokenizers = { version = "0.19.1", default-features = false, features = ["progressbar", "esaxx_fast"] }

tokenizers = { workspace = true }
hf-hub = { workspace = true, features = ["tokio"] }




[target.'cfg(not(target_os = "windows"))'.dependencies.tokenizers]
version = "0.19.1"
features = ["onig"]
6 changes: 1 addition & 5 deletions screenpipe-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ffmpeg-next = "7.0.2"
candle = { workspace = true }
candle-nn = { workspace = true }
candle-transformers = { workspace = true }
tokenizers = { version = "0.19.1", default-features = false, features = ["progressbar", "esaxx_fast"] }
tokenizers = { workspace = true }

lazy_static = "1.4.0"
base64 = "0.21.7"
Expand Down Expand Up @@ -117,7 +117,3 @@ path = "src/bin/screenpipe-server.rs"
[[bin]]
name = "screenpipe-video"
path = "src/bin/screenpipe-video.rs"

[target.'cfg(not(target_os = "windows"))'.dependencies.tokenizers]
version = "0.19.1"
features = ["onig"]
9 changes: 2 additions & 7 deletions screenpipe-vision/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ chrono = { version = "0.4.31", features = ["serde"] }
candle = { workspace = true }
candle-nn = { workspace = true }
candle-transformers = { workspace = true }
tokenizers = { version = "0.19.1", default-features = false, features = ["progressbar", "esaxx_fast"] }
tokenizers = { workspace = true }

lazy_static = "1.4.0"
base64 = "0.21.7"
Expand Down Expand Up @@ -69,9 +69,4 @@ path = "src/bin/screenpipe-vision.rs"

[[bench]]
name = "vision_benchmark"
harness = false


[target.'cfg(not(target_os = "windows"))'.dependencies.tokenizers]
version = "0.19.1"
features = ["onig"]
harness = false

0 comments on commit e03b9f9

Please sign in to comment.