datbkpro commited on
Commit
7775d9b
·
verified ·
1 Parent(s): 2853add

Update config/settings.py

Browse files
Files changed (1) hide show
  1. config/settings.py +3 -3
config/settings.py CHANGED
@@ -70,9 +70,9 @@ class Settings:
70
  DEFAULT_EMBEDDING_MODEL = 'sentence-transformers/all-MiniLM-L6-v2'
71
  DEFAULT_LLM_MODEL = "llama-3.1-8b-instant"
72
 
73
- # OCR Settings - THÊM CÀI ĐẶT OCR
74
- OCR_MODEL = "kha-white/manga-ocr-base" # OCR cho tiếng Việt và đa ngôn ngữ
75
- EASYOCR_LANGUAGES = ['vi', 'en', 'fr', 'es', 'de', 'ja', 'ko', 'zh'] # Ngôn ngữ hỗ trợ
76
 
77
  # Whisper Settings
78
  WHISPER_MODEL = "whisper-large-v3"
 
70
  DEFAULT_EMBEDDING_MODEL = 'sentence-transformers/all-MiniLM-L6-v2'
71
  DEFAULT_LLM_MODEL = "llama-3.1-8b-instant"
72
 
73
+ # OCR Settings - SỬA LỖI NGÔN NGỮ
74
+ OCR_MODEL = "kha-white/manga-ocr-base"
75
+ EASYOCR_LANGUAGES = ['vi', 'en', 'fr', 'es', 'de', 'ja', 'ko', 'ch_sim'] # SỬA 'zh' thành 'ch_sim'
76
 
77
  # Whisper Settings
78
  WHISPER_MODEL = "whisper-large-v3"