Skip to content

Commit

Permalink
default to whisper
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Feb 24, 2024
1 parent 0f1a608 commit 58badfc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ If provided a video file for input, **monkeyplug** will attempt to process the a

**monkeyplug** is part of a family of projects with similar goals:

* 📼 [cleanvid](https://github.com/mmguero/cleanvid) for video files
* 🎤 [monkeyplug](https://github.com/mmguero/monkeyplug) for audio files
* 📼 [cleanvid](https://github.com/mmguero/cleanvid) for video files (using [SRT-formatted](https://en.wikipedia.org/wiki/SubRip#Format) subtitles)
* 🎤 [monkeyplug](https://github.com/mmguero/monkeyplug) for audio and video files (using either [Whisper](https://openai.com/research/whisper) or the [Vosk](https://alphacephei.com/vosk/)-[API](https://github.com/alphacep/vosk-api) for speech recognition)
* 📕 [montag](https://github.com/mmguero/montag) for ebooks

## Installation
Expand Down Expand Up @@ -58,7 +58,7 @@ options:
-v [true|false], --verbose [true|false]
Verbose/debug output
-m <string>, --mode <string>
Speech recognition engine (whisper|vosk) (default: vosk)
Speech recognition engine (whisper|vosk) (default: whisper)
-i <string>, --input <string>
Input file (or URL)
-o <string>, --output <string>
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = monkeyplug
version = 2.0.0
version = 2.0.1
author = Seth Grover
author_email = mero.mero.guero@gmail.com
description = monkeyplug is a little script to mute profanity in audio files.
Expand Down
2 changes: 1 addition & 1 deletion src/monkeyplug/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""monkeyplug is a little script to mute profanity in audio files."""

__version__ = "2.0.0"
__version__ = "2.0.1"
__author__ = "Seth Grover <mero.mero.guero@gmail.com>"
__all__ = []

Expand Down
2 changes: 1 addition & 1 deletion src/monkeyplug/monkeyplug.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
MUTAGEN_METADATA_TAG_VALUE = u'monkeyplug'
SPEECH_REC_MODE_VOSK = "vosk"
SPEECH_REC_MODE_WHISPER = "whisper"
DEFAULT_SPEECH_REC_MODE = os.getenv("MONKEYPLUG_MODE", SPEECH_REC_MODE_VOSK)
DEFAULT_SPEECH_REC_MODE = os.getenv("MONKEYPLUG_MODE", SPEECH_REC_MODE_WHISPER)
DEFAULT_VOSK_MODEL_DIR = os.getenv(
"VOSK_MODEL_DIR", os.path.join(os.path.join(os.path.join(os.path.expanduser("~"), '.cache'), 'vosk'))
)
Expand Down

0 comments on commit 58badfc

Please # to comment.