KevinWang676 / Bark-Voice-Cloning

Bark Voice Cloning and Voice Cloning for Chinese Speech
MIT License
2.79k stars 401 forks source link

TypeError: unsupported operand type(s) for |: 'type' and 'NoneType' #75

Open yogesh030 opened 11 months ago

yogesh030 commented 11 months ago

File "app.py", line 21, in from cloning.clonevoice import clone_voice File "/var/www/html/barktest/Bark-Voice-Cloning/cloning/clonevoice.py", line 5, in from bark.hubert.customtokenizer import CustomTokenizer File "/var/www/html/barktest/Bark-Voice-Cloning/bark/hubert/customtokenizer.py", line 155, in def auto_train(data_path, save_path='model.pth', load_model: str | None = None, save_epochs=1, max_epochs=14): TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

I am running python 3.8 and got this error when running app.py

yogesh030 commented 11 months ago

any update please?

blackrose28 commented 8 months ago

Use python 3.10