Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON.parse error #2

Open
tilllt opened this issue May 15, 2024 · 3 comments
Open

JSON.parse error #2

tilllt opened this issue May 15, 2024 · 3 comments

Comments

@tilllt
Copy link

tilllt commented May 15, 2024

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

@pselvana
Copy link
Owner

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

@tilllt
Copy link
Author

tilllt commented May 15, 2024

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

@pselvana
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants