CineAI commited on
Commit
5e83c71
1 Parent(s): 06fe464

Update audio_processing/T2A.py

Browse files
Files changed (1) hide show
  1. audio_processing/T2A.py +1 -1
audio_processing/T2A.py CHANGED
@@ -8,7 +8,7 @@ class T2A:
8
  def __init__(self, input_text: str):
9
  self.inputs = tokenizer_mms_tts_eng(input_text, return_tensors="pt")
10
 
11
- def __call__(self):
12
  if self.inputs is not None:
13
  with torch.no_grad():
14
  output_model = model_mms_tts_eng(**self.inputs)
 
8
  def __init__(self, input_text: str):
9
  self.inputs = tokenizer_mms_tts_eng(input_text, return_tensors="pt")
10
 
11
+ def get_audio(self):
12
  if self.inputs is not None:
13
  with torch.no_grad():
14
  output_model = model_mms_tts_eng(**self.inputs)