Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -373,7 +373,7 @@ audio_folder_path = 'audio'
|
|
373 |
text_to_audio_mappings, audio_to_text_mappings = load_audio_text_mappings(audio_folder_path, 'slicer_opt.list')
|
374 |
|
375 |
@get_ref_path_decor
|
376 |
-
def get_tts_wav(
|
377 |
|
378 |
# Contributed for huggingface deployment
|
379 |
# ref_wav_path = text_to_audio_mappings.get(ref_wav_content, "")
|
|
|
373 |
text_to_audio_mappings, audio_to_text_mappings = load_audio_text_mappings(audio_folder_path, 'slicer_opt.list')
|
374 |
|
375 |
@get_ref_path_decor
|
376 |
+
def get_tts_wav(ref_wav_path, prompt_text, prompt_language, text, text_language, how_to_cut=i18n("不切")):
|
377 |
|
378 |
# Contributed for huggingface deployment
|
379 |
# ref_wav_path = text_to_audio_mappings.get(ref_wav_content, "")
|