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


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

The code

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

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 building your 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…
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, an initiation program that prepares its students for their career as consultants in data and AI. After the academy, the consultants take on their first internal project at Dataroots, with the aim of putting the concepts learne…