Run on colab error

#7
by AndriLawrence - opened

when i run on my pc it's fine, i've tried using my requirements.txt from my conda environments but it does nothing, anyway this the traceback. the cause is the python version or maybe the json library I guess?
Traceback (most recent call last):
File "/content/sovits-models/app-slice.py", line 86, in
model = Svc(fr"models/{f}/{f}.pth", f"models/{f}/config.json", device=args.device)
File "/content/sovits-models/inference/infer_tool.py", line 124, in init
self.hps_ms = utils.get_hparams_from_file(config_path)
File "/content/sovits-models/utils.py", line 413, in get_hparams_from_file
config = json.loads(data)
File "/usr/lib/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

AndriLawrence changed discussion status to closed

Sign up or log in to comment