Mahiruoshi commited on
Commit
2a1b32b
1 Parent(s): 6c297e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -366,7 +366,7 @@ def create_tts_fn(net_g,hps,speaker_id):
366
  messages.append({"role": "assistant", "content": text})
367
  htm = to_html(messages)
368
  if language == '自动':
369
- l_scale = 1.1 if is_japanese(text) else 1.2
370
  if not extract:
371
  t1 = time.time()
372
  stn_tst = get_text(sle(language,text),hps)
 
366
  messages.append({"role": "assistant", "content": text})
367
  htm = to_html(messages)
368
  if language == '自动':
369
+ l_scale = 1.1 if is_japanese(text) else l_scale
370
  if not extract:
371
  t1 = time.time()
372
  stn_tst = get_text(sle(language,text),hps)