Update elevenlabs.py

This commit is contained in:
liamb13 authored and GitHub committed 2023-05-13 10:31:02 +10:00
1 parent 815c4b2a2e
commit 473dacdbfc
1 file changed
+2 -2
+2 -2
View File
@@ -18,7 +18,7 @@ voices = [
class elevenlabs:
def __init__(self):
self.max_chars = 5000
self.max_chars = 2500
self.voices = voices
def run(self, text, filepath, random_voice: bool = False):
@@ -48,7 +48,7 @@ class elevenlabs:
)
save(
audio=audio,
filename=f"{filepath}"
filename=filepath
)
def randomvoice(self):