path
Browse files
app.py
CHANGED
|
@@ -88,6 +88,7 @@ async def synthesize(req: TTSRequest):
|
|
| 88 |
volume=volume
|
| 89 |
)
|
| 90 |
await communicate.save(output_path)
|
|
|
|
| 91 |
return FileResponse(output_path, media_type="audio/mpeg")
|
| 92 |
except Exception as e:
|
| 93 |
return JSONResponse(status_code=400, content={"error": str(e)})
|
|
|
|
| 88 |
volume=volume
|
| 89 |
)
|
| 90 |
await communicate.save(output_path)
|
| 91 |
+
print(output_path)
|
| 92 |
return FileResponse(output_path, media_type="audio/mpeg")
|
| 93 |
except Exception as e:
|
| 94 |
return JSONResponse(status_code=400, content={"error": str(e)})
|