Centralize constants
This commit is contained in:
parent
72ad571ff2
commit
a4da1ddd73
5 changed files with 24 additions and 19 deletions
|
|
@ -13,6 +13,7 @@ import gi
|
|||
from faster_whisper import WhisperModel
|
||||
|
||||
from config import Config, load, redacted_dict
|
||||
from constants import RECORD_TIMEOUT_SEC, STT_LANGUAGE
|
||||
from recorder import start_recording, stop_recording
|
||||
from aiprocess import LlamaProcessor
|
||||
from desktop import get_desktop_adapter
|
||||
|
|
@ -26,8 +27,6 @@ class State:
|
|||
OUTPUTTING = "outputting"
|
||||
|
||||
|
||||
RECORD_TIMEOUT_SEC = 300
|
||||
STT_LANGUAGE = "en"
|
||||
|
||||
|
||||
def _compute_type(device: str) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue