You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 1 година
123456
  1. def create_translator(voice_type):
  2. if voice_type == "baidu":
  3. from translate.baidu.baidu_translate import BaiduTranslator
  4. return BaiduTranslator()
  5. raise RuntimeError