Spaces:
Running
Running
Update generate_audio.py
Browse files- generate_audio.py +2 -1
generate_audio.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
# generate_audio.py
|
2 |
|
|
|
3 |
import pickle
|
4 |
import torch
|
5 |
import numpy as np
|
@@ -10,7 +11,7 @@ from scipy.io import wavfile
|
|
10 |
from pydub import AudioSegment
|
11 |
import io
|
12 |
import ast
|
13 |
-
|
14 |
|
15 |
|
16 |
class TTSGenerator:
|
|
|
1 |
# generate_audio.py
|
2 |
|
3 |
+
import spaces
|
4 |
import pickle
|
5 |
import torch
|
6 |
import numpy as np
|
|
|
11 |
from pydub import AudioSegment
|
12 |
import io
|
13 |
import ast
|
14 |
+
|
15 |
|
16 |
|
17 |
class TTSGenerator:
|