Fix style

This commit is contained in:
litagin
2023-07-18 14:53:41 +09:00
parent f72473353f
commit bdaeb7afca

4
app.py
View File

@@ -206,11 +206,11 @@ def tts(
(tgt_sr, audio_opt),
)
except EOFError:
info =(
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: