Fixed Tiktok max characters

This commit is contained in:
Callum Leslie committed 2022-06-22 15:07:57 +01:00
1 parent aed514081d
commit 4a9e2b0dbe
1 file changed
+1 -1
+1 -1
View File
@@ -63,7 +63,7 @@ noneng = [
class TikTok: # TikTok Text-to-Speech Wrapper
def __init__(self):
self.URI_BASE = "https://api16-normal-useast5.us.tiktokv.com/media/api/text/speech/invoke/?text_speaker="
self.max_chars = 330
self.max_chars = 300
self.voices = {"human": human, "nonhuman": nonhuman, "noneng": noneng}
def run(self, text, filepath, random_voice: bool = False):