C0untFloyd / bark-gui

🔊 Text-Prompted Generative Audio Model with Gradio
MIT License
676 stars 63 forks source link

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

Open JunhaoHuang0615 opened 1 year ago

JunhaoHuang0615 commented 1 year ago

When i run python webui.py -autolaunch in cmd, i got this error... Could anyone help me? Thank you so much!

Traceback (most recent call last): File "/mnt/f/bark_gui_fork/bark-gui/webui.py", line 21, in from cloning.clonevoice import clone_voice File "/mnt/f/bark_gui_fork/bark-gui/cloning/clonevoice.py", line 5, in from bark.hubert.customtokenizer import CustomTokenizer File "/mnt/f/bark_gui_fork/bark-gui/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'

GUUser91 commented 1 year ago

Use python 3.10.