Rajhuggingface4253 commited on
Commit
8002d1c
·
verified ·
1 Parent(s): dacdc6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -153,9 +153,9 @@ class NeuTTSWrapper:
153
  return audio
154
 
155
  def stream_producer(self, queue: asyncio.Queue, text: str, ref_audio_path: str, reference_text: str):
156
- """
157
- [PRODUCER] Runs in a thread, generates audio chunks, and puts them into a queue.
158
- """
159
  try:
160
  logger.info("Starting audio production thread...")
161
  ref_s = self.tts_model.encode_reference(ref_audio_path)
 
153
  return audio
154
 
155
  def stream_producer(self, queue: asyncio.Queue, text: str, ref_audio_path: str, reference_text: str):
156
+ """
157
+ [PRODUCER] Runs in a thread, generates audio chunks, and puts them into a queue.
158
+ """
159
  try:
160
  logger.info("Starting audio production thread...")
161
  ref_s = self.tts_model.encode_reference(ref_audio_path)