neonbjb / tortoise-tts

A multi-voice TTS system trained with an emphasis on quality
Apache License 2.0
12.35k stars 1.73k forks source link

can't find '__main__' module in 'C:\\Users\\user\\miniconda3\\tortoise-tts\\tortoise' #600

Open theundeadlich opened 9 months ago

theundeadlich commented 9 months ago

As the title says, there's no main.py file in the directory. Installed following the Windows directions:

conda create --name tortoise python=3.9 numba inflect
conda activate tortoise
conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia
conda install transformers=4.29.2
git clone https://github.com/neonbjb/tortoise-tts.git
cd tortoise-tts
python setup.py install
conda install -c conda-forge pysoundfile

This error comes when trying to run python tortoise --voice=<your_subdirectory_name>

There are some main.py files as shown in this ss:

image

But none in the tortoise directory:

image

I had no errors when downloading/installing/building tortoise

manmay-nakhashi commented 9 months ago

You can do_tts.py as it is written in a readme file to run inference no command or program named tortoise over here.