Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
86df91a
1
Parent(s):
5e0f752
Add code
Browse files- streamer.py +1 -0
streamer.py
CHANGED
@@ -3,6 +3,7 @@ from transformers.generation.streamers import BaseStreamer
|
|
3 |
from typing import Optional
|
4 |
from parler_tts import ParlerTTSForConditionalGeneration
|
5 |
import numpy as np
|
|
|
6 |
|
7 |
|
8 |
class ParlerTTSStreamer(BaseStreamer):
|
|
|
3 |
from typing import Optional
|
4 |
from parler_tts import ParlerTTSForConditionalGeneration
|
5 |
import numpy as np
|
6 |
+
import math
|
7 |
|
8 |
|
9 |
class ParlerTTSStreamer(BaseStreamer):
|