Respair commited on
Commit
1567c2d
1 Parent(s): e7f95df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,7 +7,7 @@ The Text-guided inference may or may not work. you can only do inference max 512
7
  """
8
  import gradio as gr
9
  import styletts2importable
10
- import Text-guided Inferenceimportable
11
  import torch
12
  import os
13
  from txtsplit import txtsplit
@@ -114,7 +114,7 @@ def ljsynthesize(text, steps, progress=gr.Progress()):
114
  texts = txtsplit(text)
115
  audios = []
116
  for t in progress.tqdm(texts):
117
- audios.append(Text-guided Inferenceimportable.inference(t, noise, diffusion_steps=steps, embedding_scale=1))
118
  return (24000, np.concatenate(audios))
119
 
120
 
 
7
  """
8
  import gradio as gr
9
  import styletts2importable
10
+ import ljspeechimportable
11
  import torch
12
  import os
13
  from txtsplit import txtsplit
 
114
  texts = txtsplit(text)
115
  audios = []
116
  for t in progress.tqdm(texts):
117
+ audios.append(ljspeechimportable.inference(t, noise, diffusion_steps=steps, embedding_scale=1))
118
  return (24000, np.concatenate(audios))
119
 
120