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

Kaggle Notebook? #142

Open
MethanJess opened this issue May 6, 2024 · 2 comments
Open

Kaggle Notebook? #142

MethanJess opened this issue May 6, 2024 · 2 comments
Labels
good first issue Good for newcomers

Comments

@MethanJess
Copy link

Kaggle offers a free 16gb VRam GPU / TPU for 20-30 hours per week

It would be really nice to have a Metavoice notebook for it, I tried to import the Google Colab notebook into Kaggle but it kept throwing errors...
Can anyone make a notebook for it? thanks!

@lucapericlp lucapericlp added the good first issue Good for newcomers label May 14, 2024
@Sarwarkhann
Copy link

Hi

@chinmaya-growexxer
Copy link

#Cloning the repo
!git clone -b vatsal/make_2_5x_faster https://github.com/metavoiceio/metavoice-src.git
%cd metavoice-src

Install dependencies

!pip install -r requirements.txt
!pip install --upgrade torch torchaudio
!pip install -e .

Loading Text-to-Speech model --Metavoice

from fam.llm.fast_inference import TTS
tts = TTS()
response = "This is the demo for Metavoice TTS with voice cloning"
wav_file = tts.synthesise(
text=response,
spk_ref_path="/kaggle/input/sample.mp3"
)
print(f"Response generated:/n{display(Audio(wav_file, autoplay=True))}")

The above code is working properly in Kaggle notebook

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

No branches or pull requests

4 participants