mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-19 04:37:54 +00:00
done
This commit is contained in:
parent
1ffca418ef
commit
880015ae82
@ -164,6 +164,9 @@ async def text2Wav(request: LollmsText2AudioRequest):
|
||||
else:
|
||||
request.fn = lollmsElfServer.lollms_paths.personal_outputs_path/"audio_out"/"tts2audio.wav"
|
||||
|
||||
# Verify the path exists
|
||||
request.fn.parent.mkdir(exist_ok=True, parents=True)
|
||||
|
||||
try:
|
||||
# Get the JSON data from the POST request.
|
||||
if lollmsElfServer.tts.ready:
|
||||
|
Loading…
Reference in New Issue
Block a user