Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,6 @@ from scipy.io.wavfile import write
|
|
6 |
import torchaudio
|
7 |
import utils
|
8 |
from Mels_preprocess import MelSpectrogramFixed
|
9 |
-
import spaces
|
10 |
|
11 |
from hierspeechpp_speechsynthesizer import (
|
12 |
SynthesizerTrn
|
@@ -44,8 +43,6 @@ def add_blank_token(text):
|
|
44 |
text_norm = torch.LongTensor(text_norm)
|
45 |
return text_norm
|
46 |
|
47 |
-
|
48 |
-
@spaces.GPU
|
49 |
def tts(text,
|
50 |
prompt,
|
51 |
ttv_temperature,
|
|
|
6 |
import torchaudio
|
7 |
import utils
|
8 |
from Mels_preprocess import MelSpectrogramFixed
|
|
|
9 |
|
10 |
from hierspeechpp_speechsynthesizer import (
|
11 |
SynthesizerTrn
|
|
|
43 |
text_norm = torch.LongTensor(text_norm)
|
44 |
return text_norm
|
45 |
|
|
|
|
|
46 |
def tts(text,
|
47 |
prompt,
|
48 |
ttv_temperature,
|