Centralize constants

This commit is contained in:
Thales Maciel 2026-02-24 13:45:31 -03:00
parent 72ad571ff2
commit a4da1ddd73
No known key found for this signature in database
GPG key ID: 33112E6833C34679
5 changed files with 24 additions and 19 deletions

View file

@ -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: