From fb5e4365a2f6c9bc63de3a5250b8f5e02a159255 Mon Sep 17 00:00:00 2001 From: Nikolaj Olsson Date: Sat, 26 Oct 2024 20:34:46 +0200 Subject: [PATCH] More TTS --- src/ui/Forms/Tts/RegenerateAudioClip.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/ui/Forms/Tts/RegenerateAudioClip.cs b/src/ui/Forms/Tts/RegenerateAudioClip.cs index 379bb8a3a..8c31f1ed4 100644 --- a/src/ui/Forms/Tts/RegenerateAudioClip.cs +++ b/src/ui/Forms/Tts/RegenerateAudioClip.cs @@ -43,16 +43,14 @@ namespace Nikse.SubtitleEdit.Forms.Tts nikseUpDownStability.Value = (int)Math.Round(Configuration.Settings.Tools.TextToSpeechElevenLabsStability * 100.0); nikseUpDownSimilarity.Value = (int)Math.Round(Configuration.Settings.Tools.TextToSpeechElevenLabsSimilarity * 100.0); - if (engine.Id == TextToSpeech.TextToSpeechEngineId.ElevenLabs) - { - } - else + if (engine.Id != TextToSpeech.TextToSpeechEngineId.ElevenLabs) { labelStability.Visible = false; labelSimilarity.Visible = false; nikseUpDownStability.Visible = false; nikseUpDownSimilarity.Visible = false; TextBoxReGenerate.Height = buttonOK.Top - TextBoxReGenerate.Top - 10; + nikseUpDownSimilarity.Left = labelSimilarity.Right + 3; } }