From 554b0b83e261e4a57734b22bc20ac88718f6aac6 Mon Sep 17 00:00:00 2001 From: freethenation Date: Sat, 14 Oct 2023 13:34:58 -0400 Subject: [PATCH] formatting --- settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/settings.py b/settings.py index 6f92a86..2bdf3df 100644 --- a/settings.py +++ b/settings.py @@ -9,11 +9,12 @@ class APISettings(BaseSettings): description: str = "High Performance Language Inference API" version: str = "1.0" + # Note: More beams is more accurate but slower. # default beam_size - 5 is lib default, 1 for greedy beam_size: int = 1 # default beam size for longer transcriptions long_beam_size: int = 3 - # 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. + # Audio duration in ms to activate "long" mode. Any audio longer than this will use long_beam_size. long_beam_size_threshold: int = 12000 model_threads: int = 10