myhanhhyugen commited on
Commit
2c8df7d
1 Parent(s): 647490b

update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1,16 +1,16 @@
1
  from TTSInferencing import TTSInferencing
2
- import streamlit as st
3
  from speechbrain.inference.vocoders import HIFIGAN
4
- import torchaudio
 
5
 
6
 
7
  tts_model = TTSInferencing.from_hparams(source="./",
8
  hparams_file='./hyperparams.yaml',
9
  pymodule_file='./module_classes.py',
10
- savedir="./",
11
  )
12
 
13
- hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-ljspeech", savedir='./')
14
 
15
  # text = ["Hello I am a girl", "How is your day going", "I hope you are doing well"]
16
 
 
1
  from TTSInferencing import TTSInferencing
 
2
  from speechbrain.inference.vocoders import HIFIGAN
3
+ # import torchaudio
4
+ import streamlit as st
5
 
6
 
7
  tts_model = TTSInferencing.from_hparams(source="./",
8
  hparams_file='./hyperparams.yaml',
9
  pymodule_file='./module_classes.py',
10
+ # savedir="./",
11
  )
12
 
13
+ hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-ljspeech")
14
 
15
  # text = ["Hello I am a girl", "How is your day going", "I hope you are doing well"]
16