Vahe commited on
Commit
7e49dfb
·
1 Parent(s): 795f4f8

some paths added to synthesizer

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -17,7 +17,7 @@ vocoder_config_path = None
17
  model_dir = None
18
  language="en"
19
  file_path="generated_audio.wav"
20
- speaker = Path(r"tss_model/speakers.json")
21
  split_sentences = True
22
  pipe_out = None
23
 
@@ -26,8 +26,8 @@ pipe_out = None
26
  synthesizer = Synthesizer(
27
  tts_checkpoint=model_path,
28
  tts_config_path=config_path,
29
- tts_speakers_file=None,
30
- tts_languages_file=None,
31
  vocoder_checkpoint=vocoder_path,
32
  vocoder_config=vocoder_config_path,
33
  encoder_checkpoint=None,
 
17
  model_dir = None
18
  language="en"
19
  file_path="generated_audio.wav"
20
+ speaker = None
21
  split_sentences = True
22
  pipe_out = None
23
 
 
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,