Revert "Update run.sh to use the new watch_voice_memos.py script with force flag support"

This reverts commit 28c1b8770e.
This commit is contained in:
Gigi
2025-04-01 11:13:09 +01:00
parent 28c1b8770e
commit 7e98299ebe

25
run.sh
View File

@@ -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
echo "Done! All voice memos have been processed and summarized."