Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -133,6 +133,8 @@ async def tts_generate(input_text, speaker1, speaker2):
|
|
| 133 |
"Ava - English (Female)": "en-US-AvaMultilingualNeural",
|
| 134 |
"Brian - English (Male)": "en-US-BrianMultilingualNeural",
|
| 135 |
"Emma - English (Female)": "en-US-EmmaMultilingualNeural",
|
|
|
|
|
|
|
| 136 |
"Florian - German (Male)": "de-DE-FlorianMultilingualNeural",
|
| 137 |
"Seraphina - German (Female)": "de-DE-SeraphinaMultilingualNeural",
|
| 138 |
"Remy - French (Male)": "fr-FR-RemyMultilingualNeural",
|
|
@@ -192,7 +194,7 @@ body {
|
|
| 192 |
background-color: #f0f8ff;
|
| 193 |
}
|
| 194 |
.gradio-container {
|
| 195 |
-
background-color: #
|
| 196 |
border-radius: 20px;
|
| 197 |
box-shadow: 0 0 20px rgba(0,0,0,0.1);
|
| 198 |
}
|
|
@@ -220,30 +222,15 @@ body {
|
|
| 220 |
border-color: #f50057 !important;
|
| 221 |
box-shadow: 0 0 0 2px rgba(245,0,87,0.2) !important;
|
| 222 |
}
|
| 223 |
-
.gr-form {
|
| 224 |
-
background-color: #fff0f5;
|
| 225 |
-
border-radius: 15px;
|
| 226 |
-
padding: 20px;
|
| 227 |
-
margin-top: 20px;
|
| 228 |
-
}
|
| 229 |
-
.gr-button {
|
| 230 |
-
background-color: #4caf50 !important;
|
| 231 |
-
color: white !important;
|
| 232 |
-
}
|
| 233 |
-
.gr-button:hover {
|
| 234 |
-
background-color: #45a049 !important;
|
| 235 |
-
}
|
| 236 |
.input-background {
|
| 237 |
background-color: #e6f7ff !important;
|
| 238 |
padding: 15px !important;
|
| 239 |
border-radius: 10px !important;
|
| 240 |
-
margin-bottom: 15px !important;
|
| 241 |
}
|
| 242 |
.row-background {
|
| 243 |
background-color: #fff0f5 !important;
|
| 244 |
padding: 15px !important;
|
| 245 |
border-radius: 10px !important;
|
| 246 |
-
margin-bottom: 15px !important;
|
| 247 |
}
|
| 248 |
"""
|
| 249 |
|
|
@@ -280,6 +267,8 @@ with gr.Blocks(theme=gr.themes.Monochrome(), css=custom_css) as iface:
|
|
| 280 |
"Ava - English (Female)",
|
| 281 |
"Brian - English (Male)",
|
| 282 |
"Emma - English (Female)",
|
|
|
|
|
|
|
| 283 |
"Florian - German (Male)",
|
| 284 |
"Seraphina - German (Female)",
|
| 285 |
"Remy - French (Male)",
|
|
|
|
| 133 |
"Ava - English (Female)": "en-US-AvaMultilingualNeural",
|
| 134 |
"Brian - English (Male)": "en-US-BrianMultilingualNeural",
|
| 135 |
"Emma - English (Female)": "en-US-EmmaMultilingualNeural",
|
| 136 |
+
"Masaru - Japanese (Male)": "ja-JP-MasaruMultilingualNeural",
|
| 137 |
+
"Hyunsu - Korean (Male)": "ko-KR-HyunsuMultilingualNeural",
|
| 138 |
"Florian - German (Male)": "de-DE-FlorianMultilingualNeural",
|
| 139 |
"Seraphina - German (Female)": "de-DE-SeraphinaMultilingualNeural",
|
| 140 |
"Remy - French (Male)": "fr-FR-RemyMultilingualNeural",
|
|
|
|
| 194 |
background-color: #f0f8ff;
|
| 195 |
}
|
| 196 |
.gradio-container {
|
| 197 |
+
background-color: #f0f8ff;
|
| 198 |
border-radius: 20px;
|
| 199 |
box-shadow: 0 0 20px rgba(0,0,0,0.1);
|
| 200 |
}
|
|
|
|
| 222 |
border-color: #f50057 !important;
|
| 223 |
box-shadow: 0 0 0 2px rgba(245,0,87,0.2) !important;
|
| 224 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 225 |
.input-background {
|
| 226 |
background-color: #e6f7ff !important;
|
| 227 |
padding: 15px !important;
|
| 228 |
border-radius: 10px !important;
|
|
|
|
| 229 |
}
|
| 230 |
.row-background {
|
| 231 |
background-color: #fff0f5 !important;
|
| 232 |
padding: 15px !important;
|
| 233 |
border-radius: 10px !important;
|
|
|
|
| 234 |
}
|
| 235 |
"""
|
| 236 |
|
|
|
|
| 267 |
"Ava - English (Female)",
|
| 268 |
"Brian - English (Male)",
|
| 269 |
"Emma - English (Female)",
|
| 270 |
+
"Masaru - Japanese (Male)",
|
| 271 |
+
"Hyunsu - Korean (Male)",
|
| 272 |
"Florian - German (Male)",
|
| 273 |
"Seraphina - German (Female)",
|
| 274 |
"Remy - French (Male)",
|