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