mirror of
https://github.com/denizsafak/abogen.git
synced 2026-07-18 13:40:27 +02:00
setting selected_lang to the language of the (first) voice in the mix
This commit is contained in:
+3
-1
@@ -1055,10 +1055,12 @@ class abogen(QWidget):
|
|||||||
voice_formula = " + ".join(filter(None, formula_components))
|
voice_formula = " + ".join(filter(None, formula_components))
|
||||||
else:
|
else:
|
||||||
voice_formula = self.selected_voice
|
voice_formula = self.selected_voice
|
||||||
|
# selected language - use the first voice of the mix
|
||||||
|
selected_lang = self.selected_voice[0]
|
||||||
|
|
||||||
self.conversion_thread = ConversionThread(
|
self.conversion_thread = ConversionThread(
|
||||||
self.selected_file,
|
self.selected_file,
|
||||||
self.selected_lang,
|
selected_lang,
|
||||||
speed,
|
speed,
|
||||||
voice_formula,
|
voice_formula,
|
||||||
self.save_option,
|
self.save_option,
|
||||||
|
|||||||
Reference in New Issue
Block a user