fix filename generation which didn't work and overwrote existing files #341

Merged
mrq merged 1 commits from ben_mkiv/ai-voice-cloning:master into master 2023-08-24 12:30:01 +00:00
Contributor

os.path.splitext(filename)[-1][1:]

also removes the dot from the extension, therefor the old condition was always true and it didn't automatically increase the filename index if a file existed

`os.path.splitext(filename)[-1][1:]` also removes the dot from the extension, therefor the old condition was always true and it didn't automatically increase the filename index if a file existed
ben_mkiv added 1 commit 2023-08-24 08:05:34 +00:00
ben_mkiv started working 2023-08-24 08:10:09 +00:00
ben_mkiv canceled time tracking 2023-08-24 08:10:14 +00:00
mrq merged commit 4aa240d48a into master 2023-08-24 12:30:01 +00:00
Owner

Right, I kept forgetting to try and fix it in my VALL-E inference tests.

Right, I kept forgetting to try and fix it in my VALL-E inference tests.
Sign in to join this conversation.
No description provided.