Skip to content

Commit

Permalink
fix: can run with default eatrues
Browse files Browse the repository at this point in the history
  • Loading branch information
louis030195 committed Aug 27, 2024
1 parent ee0f8c8 commit a7d4a2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion screenpipe-server/src/bin/screenpipe-server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ use screenpipe_core::find_ffmpeg_path;
use screenpipe_server::{
cli::{Cli, CliAudioTranscriptionEngine, CliOcrEngine},
logs::MultiWriter,
pipe_runner::run_pipe,
start_continuous_recording, DatabaseManager, ResourceMonitor, Server,
};
use screenpipe_vision::utils::OcrEngine as CoreOcrEngine;
Expand Down Expand Up @@ -470,6 +469,8 @@ async fn main() -> anyhow::Result<()> {

#[cfg(feature = "pipes")]
if !cli.pipe.is_empty() {
use screenpipe_server::pipe_runner::run_pipe;

let pipe_future = run_pipe(&cli.pipe[0]);
tokio::pin!(pipe_future);

Expand Down

0 comments on commit a7d4a2b

Please sign in to comment.