ZONOS3-Mini / config.py
fffiloni's picture
v0.3.5: align Speaking rate with Sampling controls
9f6ac5a verified
Raw History Blame Contribute Delete
1.01 kB
"""Release contract. Changing a revision requires rerunning the contract tests."""
from pathlib import Path
VERSION = "0.3.5"
ROOT = Path(__file__).resolve().parent
MODEL_ID = "Zyphra/ZONOS3-Mini"
MODEL_REVISION = "eaac314642440e8f1f497f1505ca376f8e618f2a"
RUNTIME_REVISION = "b820f6da278862d7c2db3e628d21cbae85983720"
GRADIO_VERSION = "6.30.0"
SPACES_VERSION = "0.51.3"
SAMPLE_RATE = 44100
MAX_CHARS = 600
MAX_FRAMES = 1350 # Product limit: at most 90 seconds, not an estimated generation time.
MAX_CLIP_SECONDS = 60
MAX_CLIP_BYTES = 25 * 1024 * 1024
MAX_SEED = 2**31 - 1
DECODER = "keep2_plain"
LANGUAGES = {
"en_us": "English (US)", "en_gb": "English (UK)", "fr_fr": "French",
"de": "German", "es": "Spanish", "it": "Italian", "pt_br": "Portuguese",
"ja": "Japanese", "cmn": "Mandarin", "ko": "Korean",
}
DEFAULT_TEXT = "Some stories begin with a voice.\nThis one begins with yours."
ALIGNER_ID = "Qwen/Qwen3-ForcedAligner-0.6B-hf"
ALIGNER_REVISION = "c07281df297b9905d24a508279258cccf987a064"