Plachta commited on
Commit
2cb1ffb
1 Parent(s): ba99451

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -127,8 +127,6 @@ def infer(text_raw, character, language, duration, noise_scale, noise_scale_w, i
127
  text = tss.google(text_raw, from_language='zh', to_language='ja')
128
  elif language == 'English':
129
  text = tss.google(text_raw, from_language='en', to_language='ja')
130
- elif language == "English2Katakana":
131
- text = romajitable.to_kana(text_raw).katakana
132
  char_id = int(character.split(':')[0])
133
  stn_tst = get_text(text, hps, is_symbol)
134
  with torch.no_grad():
 
127
  text = tss.google(text_raw, from_language='zh', to_language='ja')
128
  elif language == 'English':
129
  text = tss.google(text_raw, from_language='en', to_language='ja')
 
 
130
  char_id = int(character.split(':')[0])
131
  stn_tst = get_text(text, hps, is_symbol)
132
  with torch.no_grad():