Seicas commited on
Commit
5a94ffd
·
verified ·
1 Parent(s): 0ac6d59

Update config.py

Browse files
Files changed (1) hide show
  1. config.py +5 -4
config.py CHANGED
@@ -16,9 +16,11 @@ class Settings(BaseSettings):
16
  HF_TOKEN: str = "" # Hugging Face API token'ı
17
  HF_CACHE_DIR: Path = Path("/root/.cache/huggingface") # Hugging Face cache dizini
18
 
19
- # ASR ayarları
20
- ASR_MODEL: str = "openai/whisper-small"
21
  DIARIZATION_MODEL: str = "pyannote/speaker-diarization-3.0"
 
 
22
  ANONYMIZE_DATA: bool = True
23
  ENHANCE_AUDIO: bool = True
24
 
@@ -28,7 +30,7 @@ class Settings(BaseSettings):
28
 
29
  # Dil ayarları
30
  LANGUAGE: str = "tr"
31
- SPACY_MODEL: str = "tr_core_news_sm"
32
 
33
  # Özel tıbbi terimler dosyası
34
  MEDICAL_TERMS_FILE: str = "medical_terms.json"
@@ -46,4 +48,3 @@ class Settings(BaseSettings):
46
  env_file_encoding = "utf-8"
47
 
48
  settings = Settings()
49
-
 
16
  HF_TOKEN: str = "" # Hugging Face API token'ı
17
  HF_CACHE_DIR: Path = Path("/root/.cache/huggingface") # Hugging Face cache dizini
18
 
19
+ # ASR ve Diarization ayarları
20
+ ASR_MODEL: str = "small" # Whisper model (tiny, base, small, medium, large-v3)
21
  DIARIZATION_MODEL: str = "pyannote/speaker-diarization-3.0"
22
+
23
+ # İşlem ayarları
24
  ANONYMIZE_DATA: bool = True
25
  ENHANCE_AUDIO: bool = True
26
 
 
30
 
31
  # Dil ayarları
32
  LANGUAGE: str = "tr"
33
+ SPACY_MODEL: str = "tr_core_news_sm" # Küçük Türkçe model
34
 
35
  # Özel tıbbi terimler dosyası
36
  MEDICAL_TERMS_FILE: str = "medical_terms.json"
 
48
  env_file_encoding = "utf-8"
49
 
50
  settings = Settings()