Skip to content

Commit

Permalink
fix 语音合成语言选择
Browse files Browse the repository at this point in the history
  • Loading branch information
haruhi committed Oct 3, 2024
1 parent 784dc3d commit 422fe46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def synthesize_audio(self, event=None):
convert_results = conveter.generate_rpy_elements()
tts = TTS(conveter)
parsed_sheets_tts = tts.filter_parsed_sheets_tts()
tts.synthesize_voice(parsed_sheets_tts,'ZH')
tts.synthesize_voice(parsed_sheets_tts,'auto')
except VoiceException as err:
success_flag = False
showerror("合成错误", err.msg)
Expand Down

0 comments on commit 422fe46

Please sign in to comment.