Mahiruoshi commited on
Commit
fceceaa
1 Parent(s): eb3dffc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -161,7 +161,6 @@ def create_tts_fn(net_g,hps,speaker_id):
161
  else:
162
  htm = ''
163
  if not extract:
164
- print(text)
165
  t1 = time.time()
166
  stn_tst = get_text(sle(language,text),hps)
167
  with torch.no_grad():
@@ -234,7 +233,7 @@ if __name__ == '__main__':
234
  hps = utils.get_hparams_from_file('checkpoints/tmp/config.json')
235
  dev = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
236
  models = []
237
- schools = ["Nijigasaki High School","Seisho-Nijigasaki(Recommend)","Seisho Music Academy","Rinmeikan Girls School","Frontier School of Arts","Siegfeld Institute of Music"]
238
  lan = ["中文","日文","自动","手动"]
239
  with open("checkpoints/info.json", "r", encoding="utf-8") as f:
240
  models_info = json.load(f)
 
161
  else:
162
  htm = ''
163
  if not extract:
 
164
  t1 = time.time()
165
  stn_tst = get_text(sle(language,text),hps)
166
  with torch.no_grad():
 
233
  hps = utils.get_hparams_from_file('checkpoints/tmp/config.json')
234
  dev = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
235
  models = []
236
+ schools = ["Nijigasaki High School","Seisho-Nijigasaki","Seisho Music Academy","Rinmeikan Girls School","Frontier School of Arts","Siegfeld Institute of Music"]
237
  lan = ["中文","日文","自动","手动"]
238
  with open("checkpoints/info.json", "r", encoding="utf-8") as f:
239
  models_info = json.load(f)