Skip to content

Commit

Permalink
Fix: Add compile=False Parameter to load_models Function
Browse files Browse the repository at this point in the history
  • Loading branch information
6drf21e committed Jun 21, 2024
1 parent 0207c3c commit 9cdb037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tts_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def load_chat_tts_model(source='huggingface', force_redownload=False, local_path
"""
print("Loading ChatTTS model...")
chat = ChatTTS.Chat()
chat.load_models(source=source, force_redownload=force_redownload, custom_path=local_path)
chat.load_models(source=source, force_redownload=force_redownload, custom_path=local_path, compile=False)
return chat


Expand Down

0 comments on commit 9cdb037

Please sign in to comment.