From 7e98299ebecd7831864e04d3c1f3ae91cbdeb96b Mon Sep 17 00:00:00 2001 From: Gigi Date: Tue, 1 Apr 2025 11:13:09 +0100 Subject: [PATCH] Revert "Update run.sh to use the new watch_voice_memos.py script with force flag support" This reverts commit 28c1b8770ec6e2c3c0682db25a7b01aaa7513fa7. --- run.sh | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/run.sh b/run.sh index cf776ea..2d9ceca 100755 --- a/run.sh +++ b/run.sh @@ -3,25 +3,10 @@ # Activate virtual environment source vibenv/bin/activate -# Parse command line arguments -FORCE=false -while [[ "$#" -gt 0 ]]; do - case $1 in - -f|--force) FORCE=true ;; - *) echo "Unknown parameter: $1"; exit 1 ;; - esac - shift -done +echo "Processing voice memos to create transcripts..." +./src/process_voice_memos.sh -# Build command with optional force flag -CMD="python src/watch_voice_memos.py" -if [ "$FORCE" = true ]; then - CMD="$CMD --force" -fi +echo "Creating summaries for transcripts..." +python src/summarize_transcripts.py -echo "Starting voice memo watcher..." -echo "Press Ctrl+C to stop" -echo "" - -# Run the watcher -$CMD \ No newline at end of file +echo "Done! All voice memos have been processed and summarized." \ No newline at end of file