Spaces:
Runtime error
Runtime error
Clarify gender
Browse files
app.py
CHANGED
|
@@ -237,7 +237,11 @@ with app:
|
|
| 237 |
gr.Markdown(initial_md)
|
| 238 |
with gr.Row():
|
| 239 |
with gr.Column():
|
| 240 |
-
model_name = gr.Dropdown(
|
|
|
|
|
|
|
|
|
|
|
|
|
| 241 |
f0_key_up = gr.Number(
|
| 242 |
label="Tune (+12 = 1 octave up from edge-tts, the best value depends on the models and speakers)",
|
| 243 |
value=2,
|
|
@@ -267,7 +271,7 @@ with app:
|
|
| 267 |
with gr.Row():
|
| 268 |
with gr.Column():
|
| 269 |
tts_voice = gr.Dropdown(
|
| 270 |
-
label="Edge-tts speaker (format: language-Country-Name-Gender)",
|
| 271 |
choices=tts_voices,
|
| 272 |
allow_custom_value=False,
|
| 273 |
value="ja-JP-NanamiNeural-Female",
|
|
|
|
| 237 |
gr.Markdown(initial_md)
|
| 238 |
with gr.Row():
|
| 239 |
with gr.Column():
|
| 240 |
+
model_name = gr.Dropdown(
|
| 241 |
+
label="Model (all models except man-_ are girl models)",
|
| 242 |
+
choices=models,
|
| 243 |
+
value=models[0],
|
| 244 |
+
)
|
| 245 |
f0_key_up = gr.Number(
|
| 246 |
label="Tune (+12 = 1 octave up from edge-tts, the best value depends on the models and speakers)",
|
| 247 |
value=2,
|
|
|
|
| 271 |
with gr.Row():
|
| 272 |
with gr.Column():
|
| 273 |
tts_voice = gr.Dropdown(
|
| 274 |
+
label="Edge-tts speaker (format: language-Country-Name-Gender), make sure the gender matches the model",
|
| 275 |
choices=tts_voices,
|
| 276 |
allow_custom_value=False,
|
| 277 |
value="ja-JP-NanamiNeural-Female",
|