Open theelefant opened 1 year ago
Seconding this! I am also on windows 11.
Libsndfile outputs a system error if I use an even slightly long prompt. I let a prompt generate overnight and the entire thing was wasted because it didn't save the damn file.
This is the error, edited to remove the prompt, but just imagine a sentence about as long as the above part of this message (I.e. a perfectly reasonable prompt length, in fact very short for a prompt):
soundfile.LibsndfileError: Error opening './output\\generation\\09_10_2024_11_59_38_My prompt here': System error.
I am guessing that this could be extremely easily fixed by allowing specifying the output filename. I might pull request this.
In retrospect, it was probably ill-advised to use the entire prompt as the file name.
OS: Windows 11
As per subject line: Output generated via command line tool not saved if prompt is very long. When limiting the string for example to only 10 characters in "save_wave(waveform, savepath, name="%s%s" % (get_time(), text[:10]))" then the generated files are saved.