Unable to locate voices after updating + file saving overwrite. #17

Closed
opened 2023-02-11 09:31:18 +00:00 by gannybal · 2 comments

After updating to latest commit, i moved all my voices folder from tortoise-tts\tortoise\voices to tortoise-tts\voices. And everything was okay until i restarted the start.bat for second time. Now gradio is unable to find voices, except microphone. Refreshing list does not help. tortoise-tts\voices still has all my voices files.

I tried moving voices to original tortoise-tts\tortoise\voices, but it would not generate anything with error: RuntimeError: Parent directory ./B:\AIVoice\tortoise-tts\tortoise\utils\../voices/speaker1 does not exist.

I also spotted some strange behavior in new file naming. One of my voices refused to save as voice_14.wav, every new generation just replaced voice_13.wav file. Other voices were fine and saved voice2_16... etc.

After updating to latest commit, i moved all my voices folder from `tortoise-tts\tortoise\voices` to `tortoise-tts\voices`. And everything was okay until i restarted the start.bat for second time. Now gradio is unable to find voices, except microphone. Refreshing list does not help. `tortoise-tts\voices` still has all my voices files. I tried moving voices to original `tortoise-tts\tortoise\voices`, but it would not generate anything with error: `RuntimeError: Parent directory ./B:\AIVoice\tortoise-tts\tortoise\utils\../voices/speaker1 does not exist.` I also spotted some strange behavior in new file naming. One of my voices refused to save as voice_14.wav, every new generation just replaced voice_13.wav file. Other voices were fine and saved voice2_16... etc.

Instead of creating a new issue, I also have had problems since updating. I can't even run the new build - or the old build anymore since updating. Seems like it lost the Torch module

Instead of creating a new issue, I also have had problems since updating. I can't even run the new build - or the old build anymore since updating. Seems like it lost the Torch module
Owner

Commit ffb269e579 should fix being unable to use the old voice dir (a trailing ./ problem), and the incrementing filename problem (needed to + 1 after counting, oops). I swear I checked both and it worked fine, but I guess not.

As for the:

Now gradio is unable to find voices, except microphone

I can't replicate it. The only thing I can think of is that it will check there even if ./tortoise/voices/ exists at all.

Seems like it lost the Torch module

You can always "reinstall" by deleting tortoise-venv, deleting the build folder (just in case), and re-running the setup script. However, I'm not able to really replicate anything despite having a very, very dirty copy I'm working out of, and updating it forcefully didn't yield any issues.

Commit ffb269e57942eaf0c233fb3e8acb75cc58ba96e3 should fix being unable to use the old voice dir (a trailing `./` problem), and the incrementing filename problem (needed to + 1 after counting, oops). I swear I checked both and it worked fine, but I guess not. As for the: > Now gradio is unable to find voices, except microphone I can't replicate it. The only thing I can think of is that it will check there even if `./tortoise/voices/` exists at all. > Seems like it lost the Torch module You can always "reinstall" by deleting `tortoise-venv`, deleting the `build` folder (just in case), and re-running the setup script. However, I'm not able to really replicate anything despite having a very, very dirty copy I'm working out of, and updating it forcefully didn't yield any issues.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
3 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/tortoise-tts#17
No description provided.