Update audio.py
Browse files
audio.py
CHANGED
@@ -10,7 +10,7 @@ def pad_buffer(audio):
|
|
10 |
audio = audio + b'\0' * (element_size - (buffer_size % element_size))
|
11 |
return audio
|
12 |
|
13 |
-
def generate_voice(text
|
14 |
try:
|
15 |
audio = generate(
|
16 |
text,
|
|
|
10 |
audio = audio + b'\0' * (element_size - (buffer_size % element_size))
|
11 |
return audio
|
12 |
|
13 |
+
def generate_voice(text):
|
14 |
try:
|
15 |
audio = generate(
|
16 |
text,
|