From c45a1454d65eecdfdeb7fa39df06d0994aef0ce5 Mon Sep 17 00:00:00 2001 From: Gigi Date: Tue, 1 Apr 2025 12:37:59 +0100 Subject: [PATCH] Update run.sh to process all .m4a files in VoiceMemos directory --- run.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index 094adec..b692c1b 100755 --- a/run.sh +++ b/run.sh @@ -3,8 +3,14 @@ # Activate virtual environment source vibenv/bin/activate -echo "Processing voice memos to create transcripts..." -./process.sh +echo "Processing all voice memos..." +for file in VoiceMemos/*.m4a; do + if [ -f "$file" ]; then + echo "Processing: $file" + ./process.sh "$file" + echo "----------------------------------------" + fi +done echo "Creating summaries for transcripts..." python src/summarize_transcripts.py