Harrolee / drive-gooder

don't read and drive
Other
0 stars 0 forks source link

Docker container only: coqui tts cannot save audio file #1

Closed Harrolee closed 7 months ago

Harrolee commented 8 months ago

When running outside of container, in macos, generates this path: /Users/lee/projects/drive-gooder/api/backend/llm/../../output/oj5rhjoyf0bk7r5d.wav

I suspect ../../ works in macos but not linux. The docker container uses debian (from the python:3.10-slim-bullseye docker image)

Maybe the issue is the path generated by _build_temporary_file_path()?