mirror of
https://github.com/litagin02/rvc-tts-webui.git
synced 2026-03-06 22:04:06 +00:00
Fix error message
This commit is contained in:
8
app.py
8
app.py
@@ -206,9 +206,11 @@ def tts(
|
||||
(tgt_sr, audio_opt),
|
||||
)
|
||||
except EOFError:
|
||||
info = """
|
||||
It seems that edge-tts output is empty. This may occur when the input text and the speaker do not match.
|
||||
For example, maybe you entered Japanese (without alphabets) text but chose non-Japanese speaker?"""
|
||||
info =(
|
||||
"It seems that the edge-tts output is not valid. "
|
||||
"This may occur when the input text and the speaker do not match. "
|
||||
"For example, maybe you entered Japanese (without alphabets) text but chose non-Japanese speaker?"
|
||||
)
|
||||
print(info)
|
||||
return info, None, None
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user