mirror of
https://github.com/babysor/Realtime-Voice-Clone-Chinese.git
synced 2026-05-04 12:13:55 +08:00
Reconstruct UI of toolbox
This commit is contained in:
@@ -234,7 +234,7 @@ class Toolbox:
|
||||
texts = processed_texts
|
||||
embed = self.ui.selected_utterance.embed
|
||||
embeds = [embed] * len(texts)
|
||||
specs = self.synthesizer.synthesize_spectrograms(texts, embeds, style_idx=int(self.ui.style_idx_textbox.text()))
|
||||
specs = self.synthesizer.synthesize_spectrograms(texts, embeds, style_idx=int(self.ui.slider.value()))
|
||||
breaks = [spec.shape[1] for spec in specs]
|
||||
spec = np.concatenate(specs, axis=1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user