Spaces:
Runtime error
Runtime error
Commit
·
4c628f2
1
Parent(s):
86df91a
Add code
Browse files- streamer.py +1 -0
streamer.py
CHANGED
|
@@ -4,6 +4,7 @@ from typing import Optional
|
|
| 4 |
from parler_tts import ParlerTTSForConditionalGeneration
|
| 5 |
import numpy as np
|
| 6 |
import math
|
|
|
|
| 7 |
|
| 8 |
|
| 9 |
class ParlerTTSStreamer(BaseStreamer):
|
|
|
|
| 4 |
from parler_tts import ParlerTTSForConditionalGeneration
|
| 5 |
import numpy as np
|
| 6 |
import math
|
| 7 |
+
import torch
|
| 8 |
|
| 9 |
|
| 10 |
class ParlerTTSStreamer(BaseStreamer):
|