Rongjiehuang commited on
Commit
ffefd66
1 Parent(s): 199d672
Files changed (1) hide show
  1. inference/gradio/infer.py +1 -0
inference/gradio/infer.py CHANGED
@@ -24,6 +24,7 @@ class GradioInfer:
24
  pkg = ".".join(inference_cls.split(".")[:-1])
25
  cls_name = inference_cls.split(".")[-1]
26
  self.inference_cls = getattr(importlib.import_module(pkg), cls_name)
 
27
 
28
  def greet(self, text, audio):
29
  sents = re.split(rf'([{PUNCS}])', text.replace('\n', ','))
 
24
  pkg = ".".join(inference_cls.split(".")[:-1])
25
  cls_name = inference_cls.split(".")[-1]
26
  self.inference_cls = getattr(importlib.import_module(pkg), cls_name)
27
+ os.system('mfa thirdparty download')
28
 
29
  def greet(self, text, audio):
30
  sents = re.split(rf'([{PUNCS}])', text.replace('\n', ','))