Skip to content

Commit

Permalink
Updated comments in settings.py ro make a few of them clearer.
Browse files Browse the repository at this point in the history
  • Loading branch information
freethenation committed Oct 14, 2023
1 parent 8f0d637 commit f667ee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f667ee6

Please sign in to comment.