From f4de741d5bc152e05598abca34e8776cab453fe2 Mon Sep 17 00:00:00 2001 From: Accusys Date: Mon, 22 Jun 2026 09:20:16 +0800 Subject: [PATCH] fix: add appearance back to processor list, keep mediapipe/story filtered out --- src/api/files.rs | 2 +- src/core/db/postgres_db.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/api/files.rs b/src/api/files.rs index 930b6e5..ef147c6 100644 --- a/src/api/files.rs +++ b/src/api/files.rs @@ -767,7 +767,7 @@ async fn register_file( if let Some(ref vp) = video_path { if let Ok(job) = auto_state.db.create_monitor_job(&auto_uuid, Some(vp)).await { tracing::info!("[AUTO-PIPELINE] Job {} created for {}", job.id, auto_uuid); - let all_procs: Vec<&str> = vec!["cut", "asr", "asrx", "yolo", "ocr", "face", "pose"]; + let all_procs: Vec<&str> = vec!["cut", "asr", "asrx", "yolo", "ocr", "face", "pose", "appearance"]; let total = sqlx::query_scalar::<_, i64>(&format!( "SELECT COALESCE(total_frames, 0) FROM {} WHERE file_uuid = $1", schema::table_name("videos") diff --git a/src/core/db/postgres_db.rs b/src/core/db/postgres_db.rs index 243d4e7..b297a42 100644 --- a/src/core/db/postgres_db.rs +++ b/src/core/db/postgres_db.rs @@ -591,6 +591,7 @@ impl ProcessorType { ProcessorType::Ocr, ProcessorType::Face, ProcessorType::Pose, + ProcessorType::Appearance, ] }