Spaces:
Sleeping
Sleeping
Update tts.py
Browse files
tts.py
CHANGED
|
@@ -168,7 +168,6 @@ def synthesize(text=None, lang=None, speed=None):
|
|
| 168 |
.numpy()
|
| 169 |
)
|
| 170 |
|
| 171 |
-
hyp = (hyp * 32768).astype(np.int16)
|
| 172 |
return (hps.data.sampling_rate, hyp), text
|
| 173 |
|
| 174 |
|
|
|
|
| 168 |
.numpy()
|
| 169 |
)
|
| 170 |
|
|
|
|
| 171 |
return (hps.data.sampling_rate, hyp), text
|
| 172 |
|
| 173 |
|