daswer123 / xtts-webui

Webui for using XTTS and for finetuning it
MIT License
530 stars 105 forks source link

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

Open Guilded-Aurora opened 4 months ago

Guilded-Aurora commented 4 months ago

Traceback (most recent call last): File "#Redacted#\xtts-webui\app.py", line 67, in from xtts_webui import demo File "#Redacted#\xtts-webui\xtts_webui.py", line 97, in import modules File "#Redacted#\xtts-webui\modules__init.py", line 1, in import modules.text2voice File "#Redacted#\xtts-webui\modules\text2voice\init__.py", line 1, in import modules.text2voice.generation File "#Redacted#\xtts-webui\modules\text2voice\generation.py", line 7, in from scripts.funcs import improve_and_convert_audio, resemble_enhance_audio, str_to_list File "#Redacted#\xtts-webui\scripts\funcs.py", line 4, in from scripts.resemble_enhance.enhancer.inference import denoise, enhance File "#Redacted#\xtts-webui\scripts\resemble_enhance\enhancer\inference.py", line 6, in from ..inference import inference File "#Redacted#\xtts-webui\scripts\resemble_enhance\inference.py", line 12, in from .hparams import HParams File "#Redacted#\xtts-webui\scripts\resemble_enhance\hparams.py", line 36, in class HParams: File "#Redacted#\xtts-webui\scripts\resemble_enhance\hparams.py", line 105, in HParams def load(cls, run_dir, yaml: Path | None = None): TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

I also had to re-install modules like requests and gradio manually, but after all the reinstalls I got to this.

MackNcD commented 4 months ago

Having a very similar issue, I wonder if a module that operated on this particular syntax was changed? It can't be python, can it... Literally a day prior it was working on both 3.10 and 3.11