Vahe commited on
Commit
137fb09
·
1 Parent(s): 7e49dfb

returned to initial state

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -21,13 +21,11 @@ speaker = None
21
  split_sentences = True
22
  pipe_out = None
23
 
24
- # def get_synthesizer(model_path, config_path, vocoder_path, vocoder_config_path, model_dir, gpu):
25
-
26
  synthesizer = Synthesizer(
27
  tts_checkpoint=model_path,
28
  tts_config_path=config_path,
29
- tts_speakers_file=Path(r"tss_model/speakers.json"),
30
- tts_languages_file=Path(r"tss_model/language_ids.json"),
31
  vocoder_checkpoint=vocoder_path,
32
  vocoder_config=vocoder_config_path,
33
  encoder_checkpoint=None,
 
21
  split_sentences = True
22
  pipe_out = None
23
 
 
 
24
  synthesizer = Synthesizer(
25
  tts_checkpoint=model_path,
26
  tts_config_path=config_path,
27
+ tts_speakers_file=None,
28
+ tts_languages_file=None,
29
  vocoder_checkpoint=vocoder_path,
30
  vocoder_config=vocoder_config_path,
31
  encoder_checkpoint=None,