Skip to content

Commit 9cdb037

Browse files
committed
Fix: Add compile=False Parameter to load_models Function
1 parent 0207c3c commit 9cdb037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tts_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def load_chat_tts_model(source='huggingface', force_redownload=False, local_path
2323
"""
2424
print("Loading ChatTTS model...")
2525
chat = ChatTTS.Chat()
26-
chat.load_models(source=source, force_redownload=force_redownload, custom_path=local_path)
26+
chat.load_models(source=source, force_redownload=force_redownload, custom_path=local_path, compile=False)
2727
return chat
2828

2929

0 commit comments

Comments
 (0)