persian-tts-demo / config.py
abreza's picture
initial commit
10e72d3
raw
history blame contribute delete
496 Bytes
import os
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
models_path = os.path.join(BASE_DIR, 'saved_models', 'final_models')
results_path = os.path.join(BASE_DIR, 'results')
sample_path = os.path.join(BASE_DIR, 'sample.wav')
custom_css = """
.gradio-container {max-width: 900px !important}
.ethical-note {
background-color: #f8f9fa;
border-left: 4px solid #5c5c5c;
padding: 10px;
margin: 10px 0;
font-size: 0.9em;
}
footer {text-align: center; margin-top: 20px;}
"""