Fixed Tiktok max characters
This commit is contained in:
1 parent
aed514081d
commit
4a9e2b0dbe
1 file changed
+1
-1
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user