fix some bugs, and fix models

This commit is contained in:
jadssss
2026-10-24 08:39:33 +03:00
parent 78636699dc
commit fe338e6880
5 changed files with 355 additions and 40 deletions

View File

@@ -16,6 +16,7 @@ class ConvertConfig:
sample_rate: int = 44100
channels: int = 2
ffmpeg_path: str = "ffmpeg"
convert_concurrency: int = 4
@dataclass
@@ -43,6 +44,7 @@ class TranscribeConfig:
@dataclass
class ShazamConfig:
enabled: bool = False
identify_concurrency: int = 4
@dataclass
@@ -53,7 +55,7 @@ class LyricsConfig:
use_tags_first: bool = True
use_shazam_result: bool = True
try_after_asr: bool = True
fuzzy_threshold: float = 0.6 # difflib ratio, 0..1
fuzzy_threshold: float = 0.6
transcribe_if_identified_no_lyrics: bool = True