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: quick hack for iwndows

Louis Beaumont3d55d3809876
diff --git a/screenpipe-audio/Cargo.toml b/screenpipe-audio/Cargo.toml
index 4dfdf4342..9db702efb 100644
--- a/screenpipe-audio/Cargo.toml
+++ b/screenpipe-audio/Cargo.toml
@@ -33,7 +33,8 @@ chrono = { version = "0.4.31", features = ["serde"] }
candle = { workspace = true }
candle-nn = { workspace = true }
candle-transformers = { workspace = true }
-tokenizers = { workspace = true }
+tokenizers = { version = "0.19.1", default-features = false, features = ["progressbar", "cli", "http"] }
+
lazy_static = "1.4.0"
base64 = "0.21.7"
anyhow = "1.0.86"
@@ -88,3 +89,7 @@ harness = false
name = "stt_benchmark"
harness = false
+
+[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 5572251a4..11620fa27 100644
--- a/screenpipe-server/Cargo.toml
+++ b/screenpipe-server/Cargo.toml
@@ -41,7 +41,8 @@ ffmpeg-next = "7.0.2"
candle = { workspace = true }
candle-nn = { workspace = true }
candle-transformers = { workspace = true }
-tokenizers = { workspace = true }
+tokenizers = { version = "0.19.1", default-features = false, features = ["progressbar", "cli", "http"] }
+
lazy_static = "1.4.0"
base64 = "0.21.7"
anyhow = "1.0.86"
@@ -82,6 +83,12 @@ futures = "0.3.17"
# Directory management
dirs = "5.0"
+# Client http
+reqwest = { version = "0.12.5", features = ["json"] }
+
+# Concurrency
+crossbeam = { workspace = true }
+
[dev-dependencies]
tempfile = "3.3.0"
@@ -110,3 +117,7 @@ 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"]
\ No newline at end of file
diff --git a/screenpipe-vision/Cargo.toml b/screenpipe-vision/Cargo.toml
index e4d6f26fe..6aa9886c8 100644
--- a/screenpipe-vision/Cargo.toml
+++ b/screenpipe-vision/Cargo.toml
@@ -39,7 +39,8 @@ chrono = { version = "0.4.31", features = ["serde"] }
candle = { workspace = true }
candle-nn = { workspace = true }
candle-transformers = { workspace = true }
-tokenizers = { workspace = true }
+tokenizers = { version = "0.19.1", default-features = false, features = ["progressbar", "cli", "http"] }
+
lazy_static = "1.4.0"
base64 = "0.21.7"
anyhow = "1.0.86"
@@ -68,4 +69,9 @@ path = "src/bin/screenpipe-vision.rs"
[[bench]]
name = "vision_benchmark"
-harness = false
\ No newline at end of file
+harness = false
+
+
+[target.'cfg(not(target_os = "windows"))'.dependencies.tokenizers]
+version = "0.19.1"
+features = ["onig"]
\ No newline at end of file