yasserrmd commited on
Commit
8333465
1 Parent(s): c31b600

Update generate_audio.py

Browse files
Files changed (1) hide show
  1. generate_audio.py +2 -2
generate_audio.py CHANGED
@@ -34,8 +34,8 @@ class TTSGenerator:
34
 
35
 
36
  # Load Parler model and tokenizer for Speaker 1
37
- self.parler_model = ParlerTTSForConditionalGeneration.from_pretrained("parler-tts/parler_tts_mini_v0.1").to(self.device)
38
- self.parler_tokenizer = AutoTokenizer.from_pretrained("parler-tts/parler_tts_mini_v0.1")
39
  self.speaker1_description = """
40
  Laura's voice is expressive and dramatic in delivery, speaking at a moderately fast pace with a very close recording that almost has no background noise and very clear audio.
41
  """
 
34
 
35
 
36
  # Load Parler model and tokenizer for Speaker 1
37
+ self.parler_model = ParlerTTSForConditionalGeneration.from_pretrained("parler-tts/parler-tts-mini-v1").to(self.device)
38
+ self.parler_tokenizer = AutoTokenizer.from_pretrained("parler-tts/parler-tts-mini-v1")
39
  self.speaker1_description = """
40
  Laura's voice is expressive and dramatic in delivery, speaking at a moderately fast pace with a very close recording that almost has no background noise and very clear audio.
41
  """