change from chaterbox to gwen-tts
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
import importlib.resources
|
||||
|
||||
# Local
|
||||
from . import DATA_FOLDER
|
||||
from . import DATA_FOLDER, GWEN_FOLDER
|
||||
|
||||
# Resources
|
||||
CCCEDICT_PATH = importlib.resources.files("anki_hsk_creator").joinpath("cedict_ts.u8")
|
||||
@@ -16,16 +16,13 @@ OUTPUT = DATA_FOLDER / "output"
|
||||
OUTPUT.mkdir(exist_ok=True, parents=True)
|
||||
RESOURCES = DATA_FOLDER / "resources"
|
||||
RESOURCES.mkdir(exist_ok=True, parents=True)
|
||||
GWEN_TTS = GWEN_FOLDER / "Qwen3-TTS-12Hz-1.7B-CustomVoice"
|
||||
|
||||
# File Types
|
||||
PHRASES_TYPE = ".phrases"
|
||||
DICT_TYPE = ".dictionary"
|
||||
DICTATION_TYPE = ".dictation"
|
||||
|
||||
# time dalays
|
||||
WORD = 0.1
|
||||
COMMA = 0.5
|
||||
POINT = 1.0
|
||||
|
||||
class LANGUAGES:
|
||||
"""Available laguages for translation"""
|
||||
@@ -37,7 +34,6 @@ class LANGUAGES:
|
||||
RU = "ru"
|
||||
TR = "tr"
|
||||
TH = "th"
|
||||
|
||||
AvailableLanguages = (EN, ES, FR, RU, TR, TH)
|
||||
LanguageNames = {
|
||||
EN: "English",
|
||||
|
||||
Reference in New Issue
Block a user