Spaces:
Sleeping
Sleeping
Commit
·
e9c8adc
1
Parent(s):
683c2ff
change humelo voice
Browse files
tts.py
CHANGED
|
@@ -201,7 +201,7 @@ model_mapping = {
|
|
| 201 |
# Humelo DIVE TTS (한국어 특화)
|
| 202 |
"humelo-sia": {
|
| 203 |
"provider": "humelo",
|
| 204 |
-
"voice": "
|
| 205 |
"emotion": "neutral",
|
| 206 |
},
|
| 207 |
}
|
|
@@ -357,7 +357,7 @@ def predict_supertone_tts(text: str, model: str = "sona_speech_1") -> str:
|
|
| 357 |
return f.name
|
| 358 |
|
| 359 |
|
| 360 |
-
def predict_humelo_tts(text: str, voice: str = "
|
| 361 |
"""Humelo DIVE TTS API 호출"""
|
| 362 |
api_key = HUMELO_API_KEY
|
| 363 |
if not api_key:
|
|
|
|
| 201 |
# Humelo DIVE TTS (한국어 특화)
|
| 202 |
"humelo-sia": {
|
| 203 |
"provider": "humelo",
|
| 204 |
+
"voice": "리아",
|
| 205 |
"emotion": "neutral",
|
| 206 |
},
|
| 207 |
}
|
|
|
|
| 357 |
return f.name
|
| 358 |
|
| 359 |
|
| 360 |
+
def predict_humelo_tts(text: str, voice: str = "리아", emotion: str = "neutral") -> str:
|
| 361 |
"""Humelo DIVE TTS API 호출"""
|
| 362 |
api_key = HUMELO_API_KEY
|
| 363 |
if not api_key:
|