Spaces:
Paused
Paused
Update app.py
Browse files
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 |
|