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 +07:00

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 +07:00
ben_mkiv started working 2023-08-24 08:10:09 +07:00
ben_mkiv cancelled time tracking 2023-08-24 08:10:14 +07:00
mrq merged commit 4aa240d48a into master 2023-08-24 12:30:01 +07:00

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.

Pull request successfully merged and closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mrq/ai-voice-cloning#341
There is no content yet.