diff --git a/screenpipe-audio/src/core.rs b/screenpipe-audio/src/core.rs index 437053916..f0d024421 100644 --- a/screenpipe-audio/src/core.rs +++ b/screenpipe-audio/src/core.rs @@ -412,10 +412,11 @@ pub async fn record_and_transcribe( error!("Error joining audio thread: {:?}", e); } - tokio::fs::File::open(&output_path_clone_2.to_path_buf()) - .await? - .sync_all() - .await?; + // Commented to chekc if its the "Access is denied on windows" error + // tokio::fs::File::open(&output_path_clone_2.to_path_buf()) + // .await? + // .sync_all() + // .await?; debug!("Sending audio to audio model"); if let Err(e) = whisper_sender.send(AudioInput { diff --git a/screenpipe-vision/src/microsoft.rs b/screenpipe-vision/src/microsoft.rs index 925f8def6..1d95b2ed3 100644 --- a/screenpipe-vision/src/microsoft.rs +++ b/screenpipe-vision/src/microsoft.rs @@ -39,4 +39,4 @@ pub async fn perform_ocr_windows(image: &DynamicImage) -> (String, String, Optio .to_string(); (text, json_output, Some(1.0)) -} \ No newline at end of file +}