freddyaboulton HF staff commited on
Commit
df03cac
1 Parent(s): 2acc3a1
Files changed (1) hide show
  1. streamer.py +2 -0
streamer.py CHANGED
@@ -1,6 +1,8 @@
1
  from queue import Queue
2
  from transformers.generation.streamers import BaseStreamer
3
  from typing import Optional
 
 
4
 
5
 
6
  class ParlerTTSStreamer(BaseStreamer):
 
1
  from queue import Queue
2
  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):