Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -155,7 +155,7 @@ snac_model = SNAC.from_pretrained("hubertsiuzdak/snac_24khz")
|
|
155 |
snac_model = snac_model.to(device)
|
156 |
print("SNAC model loaded successfully")
|
157 |
|
158 |
-
model_name = "mrrtmob/kiri-tts-0.
|
159 |
print(f"Downloading model files from {model_name}...")
|
160 |
|
161 |
# Download only model config and safetensors with token
|
@@ -441,7 +441,7 @@ with gr.Blocks(title="Khmer Text-to-Speech", css=css, theme=gr.themes.Soft()) as
|
|
441 |
)
|
442 |
|
443 |
voice_input = gr.Dropdown(
|
444 |
-
["kiri"],
|
445 |
value="kiri",
|
446 |
label="Voice (ααα‘αα)",
|
447 |
info="Select a voice for the speech synthesis.",
|
|
|
155 |
snac_model = snac_model.to(device)
|
156 |
print("SNAC model loaded successfully")
|
157 |
|
158 |
+
model_name = "mrrtmob/kiri-tts-0.4-ft"
|
159 |
print(f"Downloading model files from {model_name}...")
|
160 |
|
161 |
# Download only model config and safetensors with token
|
|
|
441 |
)
|
442 |
|
443 |
voice_input = gr.Dropdown(
|
444 |
+
["kiri", "elise"],
|
445 |
value="kiri",
|
446 |
label="Voice (ααα‘αα)",
|
447 |
info="Select a voice for the speech synthesis.",
|