You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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, save_path, name="%s_%s" % (get_time(), text[:10]))" then the generated files are saved.
The text was updated successfully, but these errors were encountered:
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, save_path, name="%s_%s" % (get_time(), text[:10]))" then the generated files are saved.
The text was updated successfully, but these errors were encountered: