rahul7star commited on
Commit
909217d
·
verified ·
1 Parent(s): e2688ca

Update src/chatterbox/mtl_tts.py

Browse files
Files changed (1) hide show
  1. src/chatterbox/mtl_tts.py +1 -1
src/chatterbox/mtl_tts.py CHANGED
@@ -130,7 +130,7 @@ class Conditionals:
130
 
131
  @classmethod
132
  def load(cls, fpath, map_location="cpu"):
133
- kwargs = torch.load(fpath, map_location=map_location, weights_only=True)
134
  return cls(T3Cond(**kwargs['t3']), kwargs['gen'])
135
 
136
 
 
130
 
131
  @classmethod
132
  def load(cls, fpath, map_location="cpu"):
133
+ kwargs = torch.load(fpath, map_location="cpu", weights_only=True)
134
  return cls(T3Cond(**kwargs['t3']), kwargs['gen'])
135
 
136