mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
More TTS
This commit is contained in:
parent
a8c80f6238
commit
fb5e4365a2
@ -43,16 +43,14 @@ namespace Nikse.SubtitleEdit.Forms.Tts
|
|||||||
nikseUpDownStability.Value = (int)Math.Round(Configuration.Settings.Tools.TextToSpeechElevenLabsStability * 100.0);
|
nikseUpDownStability.Value = (int)Math.Round(Configuration.Settings.Tools.TextToSpeechElevenLabsStability * 100.0);
|
||||||
nikseUpDownSimilarity.Value = (int)Math.Round(Configuration.Settings.Tools.TextToSpeechElevenLabsSimilarity * 100.0);
|
nikseUpDownSimilarity.Value = (int)Math.Round(Configuration.Settings.Tools.TextToSpeechElevenLabsSimilarity * 100.0);
|
||||||
|
|
||||||
if (engine.Id == TextToSpeech.TextToSpeechEngineId.ElevenLabs)
|
if (engine.Id != TextToSpeech.TextToSpeechEngineId.ElevenLabs)
|
||||||
{
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
labelStability.Visible = false;
|
labelStability.Visible = false;
|
||||||
labelSimilarity.Visible = false;
|
labelSimilarity.Visible = false;
|
||||||
nikseUpDownStability.Visible = false;
|
nikseUpDownStability.Visible = false;
|
||||||
nikseUpDownSimilarity.Visible = false;
|
nikseUpDownSimilarity.Visible = false;
|
||||||
TextBoxReGenerate.Height = buttonOK.Top - TextBoxReGenerate.Top - 10;
|
TextBoxReGenerate.Height = buttonOK.Top - TextBoxReGenerate.Top - 10;
|
||||||
|
nikseUpDownSimilarity.Left = labelSimilarity.Right + 3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user