From f667ee6c377d37315ccac5a810262ae2880acabf Mon Sep 17 00:00:00 2001 From: freethenation Date: Sat, 14 Oct 2023 13:31:55 -0400 Subject: [PATCH] Updated comments in settings.py ro make a few of them clearer. --- settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.py b/settings.py index 210de4e..6f92a86 100644 --- a/settings.py +++ b/settings.py @@ -13,7 +13,7 @@ class APISettings(BaseSettings): beam_size: int = 1 # default beam size for longer transcriptions long_beam_size: int = 3 - # Audio duration in ms to activate "long" mode + # Audio duration in ms to activate "long" mode. Any audio longer than this will use long_beam_size. More beams is more accurate but slower. long_beam_size_threshold: int = 12000 model_threads: int = 10 @@ -41,7 +41,7 @@ class APISettings(BaseSettings): # SV threshold sv_threshold: float = 0.75 - # The default whisper model to use + # The default whisper model to use. Options are "tiny", "base", "small", "medium", "large" whisper_model_default: str = 'medium' # Default TTS format to use