liuao

Results 2 issues of liuao

Muya doesn't work in Safari: SyntaxError: Invalid regular expression: invalid group specifier name ![image](https://user-images.githubusercontent.com/10046245/155256884-0e5ec890-b0e6-46a0-902a-d6fefe4dddf6.png) It seem that Safari doesn't support lookbehind yet. https://stackoverflow.com/questions/51568821/works-in-chrome-but-breaks-in-safari-invalid-regular-expression-invalid-group

File ~/work/python/tts/MeloTTS/melo/api.py:81, in TTS.tts_to_file(self, text, speaker_id, output_path, sdp_ratio, noise_scale, noise_scale_w, speed) 79 t = re.sub(r'([a-z])([A-Z])', r'\1 \2', t) 80 device = self.device ---> 81 bert, ja_bert, phones, tones, lang_ids =...