Rajhuggingface4253 commited on
Commit
c36a042
·
verified ·
1 Parent(s): 058ead7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -422,7 +422,8 @@ async def stream_text_to_speech_cloning(
422
  headers={
423
  "Content-Disposition": "attachment; filename=tts_live_stream.mp3",
424
  "Transfer-Encoding": "chunked",
425
- "Cache-Control": "no-cache"
 
426
  }
427
  )
428
 
 
422
  headers={
423
  "Content-Disposition": "attachment; filename=tts_live_stream.mp3",
424
  "Transfer-Encoding": "chunked",
425
+ "Cache-Control": "no-cache",
426
+ "X-Accel-Buffering": "no"
427
  }
428
  )
429