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
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