Voice-Cloning-App icon indicating copy to clipboard operation
Voice-Cloning-App copied to clipboard

JSONDecodeError

Open skydam opened this issue 2 years ago • 1 comments

When I go to synthesize and submit, this is the error message that appears: Text: Expecting value: line 1 column 1 (char 0) Full: Traceback (most recent call last): File "flask\app.py", line 1950, in full_dispatch_request File "flask\app.py", line 1936, in dispatch_request File "application\views.py", line 302, in synthesis_setup_post File "synthesis\vocoders\hifigan.py", line 25, in init File "json_init_.py", line 354, in loads File "json\decoder.py", line 339, in decode File "json\decoder.py", line 357, in raw_decode json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

skydam avatar Sep 22 '22 18:09 skydam

I got a similar error and it was because forgot to upload config.json file with vocoder model I was using (there are two upload buttons, the other is for the config.json) In my case I just downloaded the config.json with the hifigan model from the 'g_' model link

Hope this helps, and for anyone else too

steveisd avatar Nov 17 '22 14:11 steveisd