ImportError: cannot import name 'get_voice_dir' from 'tortoise.utils.audio' #241
Labels
No Label
bug
duplicate
enhancement
help wanted
insufficient info
invalid
news
not a bug
question
wontfix
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: mrq/ai-voice-cloning#241
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Unfortunately I get the following error when starting train.py
ImportError: cannot import name 'get_voice_dir' from 'tortoise.utils.audio'
What tortoise version are you using? In the current repo it seems like they removed the function get_voice_dir() from their audio.py
Thanks in advance! I am excited to use your code :)
First, the
train.py
script doesn't use anything from TorToiSe directly, so I'm not sure what you're doing to get that from the given information.Secondly, the intended fork to use it with (mrq/tortoise) does in fact have it still: https://git.ecker.tech/mrq/tortoise-tts/src/branch/main/tortoise/utils/audio.py#L13, so I'm also not sure what you're doing from the given information.
uninstall
tortoise-tts==3.x
install
TorToiSe==2.4.5