VoiceCrafter icon indicating copy to clipboard operation
VoiceCrafter copied to clipboard

JSON.parse error

Open tilllt opened this issue 1 year ago • 3 comments

Trying to run your VoiceCraft Container but no luck: JSON.parse: unexpected character at line 2 column 1 of the JSON data

tilllt avatar May 15 '24 07:05 tilllt

I just pulled it down and rebuilt from scratch and everything is working on a Ubuntu 22.04 machine so i'm not sure where that error is coming from.

Can you let me know what commands you ran and what system you are trying this on (OS, OS Version, Graphics card)?

I've updated the README with a little easier to follow instructions as well: image

pselvana avatar May 15 '24 17:05 pselvana

I think the error I posted earlier is coming from trying to access the gradio GUI when the docker container already has crashed.

It exits with Exit Code 137, which seems to be an out of memory error:

https://stackoverflow.com/questions/59296801/docker-compose-exit-code-is-137-when-there-is-no-oom-exception

tilllt avatar May 15 '24 20:05 tilllt

Thanks! You might want to try running it with the 330M model. Which graphics card do you have? The 330M should work on 4GB Nvidia card that supports CUDA. The 880M requires 6GB iirc. You can also turn off "Autotranscribe" since that uses Whisper to transcribe. If you do that then you will have to fill in the "original_transcript" with the script of what the speaker was saying in the audio you uploaded.

pselvana avatar May 15 '24 21:05 pselvana