Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
CookSleep authored Nov 26, 2023
1 parent eccda88 commit 41c34c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text_to_speech.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def tts_request(text, model, voice, filename, format):
print("请检查您的API-BASE格式是否正确。")

def main():
text = input("请输入你要转换的文字 (最多 4096 字符): ")
text = input("请输入你要转换的文字 (最多 4096 字符,建议粘贴文字以避免可能存在的无法输入中文的问题): ")
if len(text) > 4096:
print("错误:文字长度超过 4096 字符限制。")
return
Expand Down

0 comments on commit 41c34c5

Please sign in to comment.