DEV Community

Bart for dataroots

Posted on • Originally published at dataroots.io on

Real-Time Voice Cloning - tutorial

This tutorial demonstrates how a simple voice transfer app can be created using Streamlit. The code for this demo is based on the repository for Real-Time-Voice-Cloning.

This app allows you to:

  • Record your voice
  • Visualize the embedding of the speaker
  • Synthesize speech based on the recorded voice

Setup

1. Install Requirements

Python 3.6 or 3.7 is needed

  • Create your virtual environment (e.g. pipenv, poetry or venv).
  • Install PyTorch (>=1.0.1).
  • Install ffmpeg.
  • Run pip install -r requirements_demo.txt to install the remaining necessary packages.

2. Download Pretrained Models

Download the latest here.

3. Launch streamlit demo

  • streamlit run demo_voice.py

The code

[

GitHub - datarootsio/tutorial-streamlit-demo

Contribute to datarootsio/tutorial-streamlit-demo development by creating an account on GitHub.

GitHubdatarootsio


](https://github.com/datarootsio/tutorial-streamlit-demo)

You might also like

[

Leaning in for HuggingFace Spaces - Sophie De Coppel, Hans Tierens

Deploying your Machine Learning model is often the cherry on the cake for a Machine Learning Engineer. After putting a lot of effort in buildingyour model, it is immensely satisfying to be able to send it off on an adventure of its own, hoping it conquers the world. However, the size of the worl…

datarootsa Hugging Face Space by dataroots


](https://dataroots.io/research/contributions/discovering-hugging-face)

[

Weather Nowcasting - deploying a model on edge - Margaux Gérard, Lidia-Ana-Maria Baciu, Adrian Gonzalez Carpintero, Omar Safwat

The research department at Dataroots hosts twice a year its RootsAcademy, aninitiation program that prepares its students for their career as consultants indata and AI. After the academy, the consultants take on their first internalproject at Dataroots, with the aim of putting the concepts learne…

dataroots


](https://dataroots.io/research/contributions/weather-nowcasting)

Top comments (0)