Spaces:
Sleeping
Sleeping
Update generate_audio.py
Browse files- generate_audio.py +3 -0
generate_audio.py
CHANGED
@@ -37,6 +37,9 @@ class TTSGenerator:
|
|
37 |
self.parler_tokenizer = AutoTokenizer.from_pretrained("parler-tts/parler-tts-mini-v1")
|
38 |
self.speaker1_description = """
|
39 |
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.
|
|
|
|
|
|
|
40 |
"""
|
41 |
|
42 |
# Load Bark model and processor for Speaker 2
|
|
|
37 |
self.parler_tokenizer = AutoTokenizer.from_pretrained("parler-tts/parler-tts-mini-v1")
|
38 |
self.speaker1_description = """
|
39 |
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.
|
40 |
+
"""
|
41 |
+
self.speaker2_description = """
|
42 |
+
Gary'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.
|
43 |
"""
|
44 |
|
45 |
# Load Bark model and processor for Speaker 2
|