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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
style: cargo fmt onnx.rs load_remap signature
Louis Beaumontb2d2d32a0f57
diff --git a/crates/screenpipe-redact/src/adapters/onnx.rs b/crates/screenpipe-redact/src/adapters/onnx.rsindex 38850c51a..0af514fb1 100644--- a/crates/screenpipe-redact/src/adapters/onnx.rs+++ b/crates/screenpipe-redact/src/adapters/onnx.rs@@ -714,9 +714,7 @@ mod runtime {/// Load a vocab-prune `remap.json` if present:/// `{"remap": {"<old_id>": <new_row>, …}, "unk_new": <row>}`./// Returns `(None, 0)` when the file is absent (full-vocab model).- fn load_remap(- path: &std::path::Path,- ) -> Result<(Option<HashMap<u32, u32>>, u32), RedactError> {+ fn load_remap(path: &std::path::Path) -> Result<(Option<HashMap<u32, u32>>, u32), RedactError> {if !path.exists() {return Ok((None, 0));}