Michael Hu
initial check in of the dia tts server
ac5de5b
# .env - Configuration for Dia TTS Server
# Values in this file override the defaults set in config.py
# --- Server Settings ---
HOST='0.0.0.0'
PORT='8003'
# --- Path Settings ---
# Defaults are usually fine unless you want custom locations.
DIA_MODEL_CACHE_PATH='./model_cache'
REFERENCE_AUDIO_PATH='./reference_audio'
OUTPUT_PATH='./outputs'
# --- Model Source Settings ---
# Defaulting to BF16 safetensors. Uncomment and modify lines below to use other models.
DIA_MODEL_REPO_ID='ttj/dia-1.6b-safetensors'
DIA_MODEL_CONFIG_FILENAME='config.json'
DIA_MODEL_WEIGHTS_FILENAME='dia-v0_1_bf16.safetensors'
# Example: Use full precision safetensors
# DIA_MODEL_REPO_ID=ttj/dia-1.6b-safetensors
# DIA_MODEL_WEIGHTS_FILENAME=dia-v0_1.safetensors
# Example: Use original Nari Labs .pth model
# DIA_MODEL_REPO_ID=nari-labs/Dia-1.6B
# DIA_MODEL_WEIGHTS_FILENAME=dia-v0_1.pth
# --- Default Generation Parameters ---
# These set the initial values loaded in the UI.
# They can be changed in the UI and saved back here using the 'Save Generation Defaults' button.
GEN_DEFAULT_SPEED_FACTOR='0.9'
GEN_DEFAULT_CFG_SCALE='3'
GEN_DEFAULT_TEMPERATURE='1.3'
GEN_DEFAULT_TOP_P='0.95'
GEN_DEFAULT_CFG_FILTER_TOP_K='35'