mirror of
https://github.com/aljazceru/vibeline.git
synced 2026-01-17 21:44:36 +01:00
* Add dockerfile Add example docker compose Add docker build action Update extract.sh to use faster-whisper Update src/extract.py to check and download ollama models * remove multi-platform build * add vibeline-ui to docker compose * Fix VOICE_MEMOS_DIR variable being ignored in some files * remove requirement for faster-whisper since it comes with whisper-ctranslate2
25 lines
522 B
Bash
Executable File
25 lines
522 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Parse arguments
|
|
force_flag=""
|
|
while getopts "f" opt; do
|
|
case $opt in
|
|
f) force_flag="-f" ;;
|
|
esac
|
|
done
|
|
shift $((OPTIND-1))
|
|
|
|
# Activate virtual environment
|
|
[ -d "vibenv" ] && source vibenv/bin/activate
|
|
|
|
echo "Processing all voice memos..."
|
|
for file in VoiceMemos/*.m4a; do
|
|
if [ -f "$file" ]; then
|
|
echo "Processing: $file"
|
|
./process.sh $force_flag "$file"
|
|
echo "----------------------------------------"
|
|
fi
|
|
done
|
|
|
|
echo "Done! All voice memos have been processed."
|