laxsvips commited on
Commit
654a25e
1 Parent(s): 46cbc2c

Update audio.py

Browse files
Files changed (1) hide show
  1. audio.py +1 -1
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, voice_name, model_name):
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,