Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: tokenizers

Louis Beaumont35a22623e74f
diff --git a/screenpipe-audio/Cargo.toml b/screenpipe-audio/Cargo.toml
index 9db702efb..1e59657a0 100644
--- a/screenpipe-audio/Cargo.toml
+++ b/screenpipe-audio/Cargo.toml
@@ -33,7 +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", "cli", "http"] }
+tokenizers = { version = "0.19.1", default-features = false, features = ["progressbar", "esaxx_fast"] }
lazy_static = "1.4.0"
base64 = "0.21.7"
diff --git a/screenpipe-core/Cargo.toml b/screenpipe-core/Cargo.toml
index 0a741d731..3a596ffce 100644
--- a/screenpipe-core/Cargo.toml
+++ b/screenpipe-core/Cargo.toml
@@ -16,9 +16,13 @@ anyhow = "1.0.86"
candle = { workspace = true }
candle-nn = { workspace = true }
candle-transformers = { workspace = true }
-tokenizers = { workspace = true }
+tokenizers = { version = "0.19.1", default-features = false, features = ["progressbar", "esaxx_fast"] }
+
hf-hub = { workspace = true, features = ["tokio"] }
+[target.'cfg(not(target_os = "windows"))'.dependencies.tokenizers]
+version = "0.19.1"
+features = ["onig"]
\ No newline at end of file
diff --git a/screenpipe-server/Cargo.toml b/screenpipe-server/Cargo.toml
index 11620fa27..f3c1f10bc 100644
--- a/screenpipe-server/Cargo.toml
+++ b/screenpipe-server/Cargo.toml
@@ -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", "cli", "http"] }
+tokenizers = { version = "0.19.1", default-features = false, features = ["progressbar", "esaxx_fast"] }
lazy_static = "1.4.0"
base64 = "0.21.7"
diff --git a/screenpipe-vision/Cargo.toml b/screenpipe-vision/Cargo.toml
index 6aa9886c8..39a7d3559 100644
--- a/screenpipe-vision/Cargo.toml
+++ b/screenpipe-vision/Cargo.toml
@@ -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", "cli", "http"] }
+tokenizers = { version = "0.19.1", default-features = false, features = ["progressbar", "esaxx_fast"] }
lazy_static = "1.4.0"
base64 = "0.21.7"