(Colab) error while downloading voice model
JSONDecodeError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/google/oauth2/service_account.py in from_service_account_file(cls, filename, **kwargs) 255 credentials. 256 """ --> 257 info, signer = _service_account_info.from_filename( 258 filename, require=["client_email", "token_uri"] 259 )
/usr/local/lib/python3.10/dist-packages/google/auth/_service_account_info.py in from_filename(filename, require, use_rsa_signer) 77 """ 78 with io.open(filename, "r", encoding="utf-8") as json_file: ---> 79 data = json.load(json_file) 80 return data, from_dict(data, require=require, use_rsa_signer=use_rsa_signer)
/usr/lib/python3.10/json/init.py in load(fp, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
291 kwarg; otherwise JSONDecoder is used.
292 """
--> 293 return loads(fp.read(),
294 cls=cls, object_hook=object_hook,
295 parse_float=parse_float, parse_int=parse_int,
/usr/lib/python3.10/json/init.py in loads(s, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw) 344 parse_int is None and parse_float is None and 345 parse_constant is None and object_pairs_hook is None and not kw): --> 346 return _default_decoder.decode(s) 347 if cls is None: 348 cls = JSONDecoder
/usr/lib/python3.10/json/decoder.py in decode(self, s, _w) 335 336 """ --> 337 obj, end = self.raw_decode(s, idx=_w(s, 0).end()) 338 end = _w(s, end).end() 339 if end != len(s):
/usr/lib/python3.10/json/decoder.py in raw_decode(self, s, idx) 353 obj, end = self.scan_once(s, idx) 354 except StopIteration as err: --> 355 raise JSONDecodeError("Expecting value", s, err.value) from None 356 return obj, end
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
it seems that peppy-generator-388800-07722f17a188.json is empty.
it seems that peppy-generator-388800-07722f17a188.json is empty.
how were you able to resolve this?
Im having the same exact problem using Goolge Collab. The file is empty.
same problem here any one solved it ??