14 lines
384 B
Python
14 lines
384 B
Python
class Config:
|
|
def __init__(self):
|
|
# Audio settings
|
|
self.sample_rate = 16000
|
|
self.chunk_duration = 2.0
|
|
self.vad_threshold = 0.5
|
|
|
|
# AI settings
|
|
self.context_window = 8192
|
|
self.max_history = 10
|
|
|
|
# Recognition settings
|
|
self.whisper_model = "base" # 'tiny', 'base', 'small', 'medium'
|
|
self.language = "en" |