code: def __init__(self, providers: List[str] = None) -> None:
      root = self.directory
      config = os.path.join("model", "config.yaml")
      set_hparams(config, root=root)
      self.infer = Infer(root, providers=providers)
  
file_path: PaddleHub/modules/audio/svs/diffsinger/module.py
imports: import argparse
  import os
  import time
  from typing import Dict
  from typing import List
  from typing import Union
  from .infer import Infer
  from .utils.audio import save_wav
  from .utils.hparams import hparams
  from .utils.hparams import set_hparams
  from paddlehub.module.module import moduleinfo
  from paddlehub.module.module import runnable
  from paddlehub.module.module import serving
label_desc: Use image node_id 1 to create a new DiffSinger object  with example: obj = DiffSinger(providers)