├── README.md ├── coqui_XTTS_colab.ipynb └── coqui_XTTS_v2_colab.ipynb /README.md: -------------------------------------------------------------------------------- 1 | 🐣 Please follow me for new updates https://twitter.com/camenduru
2 | 🔥 Please join our discord server https://discord.gg/k5BwmmvJJU
3 | 🥳 Please join my patreon community https://patreon.com/camenduru
4 | 5 | ## 🦒 Colab 6 | 7 | | Colab | Info 8 | | --- | --- | 9 | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/camenduru/coqui-XTTS-colab/blob/main/coqui_XTTS_v2_colab.ipynb) | coqui_XTTS_v2_colab 10 | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/camenduru/coqui-XTTS-colab/blob/main/coqui_XTTS_colab.ipynb) | coqui_XTTS_colab 11 | 12 | ## Main Repo 13 | https://github.com/coqui-ai/TTS
14 | https://huggingface.co/spaces/coqui/xtts/tree/main
15 | 16 | ## Model 17 | https://huggingface.co/coqui/XTTS-v1 18 | 19 | ## License 20 | This license allows only non-commercial use of a machine learning model and its outputs.
21 | https://coqui.ai/cpml 22 | 23 | ## Output 24 | https://github.com/camenduru/coqui-XTTS-colab/assets/54370274/8286abca-a84f-4b88-8a73-42615e03150f 25 | 26 | 27 | -------------------------------------------------------------------------------- /coqui_XTTS_colab.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": { 6 | "id": "view-in-github" 7 | }, 8 | "source": [ 9 | "[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/camenduru/coqui-XTTS-colab/blob/main/coqui_XTTS_colab.ipynb)" 10 | ] 11 | }, 12 | { 13 | "cell_type": "code", 14 | "execution_count": null, 15 | "metadata": { 16 | "id": "VjYy0F2gZIPR" 17 | }, 18 | "outputs": [], 19 | "source": [ 20 | "import os\n", 21 | "os.environ[\"COQUI_TOS_AGREED\"] = \"1\"\n", 22 | "%cd /content\n", 23 | "!git clone -b dev https://github.com/camenduru/xtts-hf\n", 24 | "%cd /content/xtts-hf\n", 25 | "!pip install -q gradio TTS==0.17.8\n", 26 | "!wget https://huggingface.co/spaces/coqui/xtts/resolve/main/examples/female.wav -O /content/xtts-hf/examples/female.wav\n", 27 | "!wget https://huggingface.co/spaces/coqui/xtts/resolve/main/examples/male.wav -O /content/xtts-hf/examples/male.wav\n", 28 | "!python app.py" 29 | ] 30 | } 31 | ], 32 | "metadata": { 33 | "accelerator": "GPU", 34 | "colab": { 35 | "gpuType": "T4", 36 | "provenance": [] 37 | }, 38 | "kernelspec": { 39 | "display_name": "Python 3", 40 | "name": "python3" 41 | }, 42 | "language_info": { 43 | "name": "python" 44 | } 45 | }, 46 | "nbformat": 4, 47 | "nbformat_minor": 0 48 | } 49 | -------------------------------------------------------------------------------- /coqui_XTTS_v2_colab.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": { 6 | "id": "view-in-github" 7 | }, 8 | "source": [ 9 | "[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/camenduru/coqui-XTTS-colab/blob/main/coqui_XTTS_v2_colab.ipynb)" 10 | ] 11 | }, 12 | { 13 | "cell_type": "code", 14 | "execution_count": null, 15 | "metadata": { 16 | "id": "VjYy0F2gZIPR" 17 | }, 18 | "outputs": [], 19 | "source": [ 20 | "%cd /content\n", 21 | "!git clone -b dev https://github.com/camenduru/xtts2-hf\n", 22 | "%cd /content/xtts2-hf\n", 23 | "!pip install -q gradio==3.50.2 TTS==0.21.1 langid unidic-lite unidic deepspeed\n", 24 | "!pip install -q numpy<2.0.0 -U\n", 25 | "!wget https://huggingface.co/spaces/coqui/xtts/resolve/main/examples/female.wav -O /content/xtts2-hf/examples/female.wav\n", 26 | "!wget https://huggingface.co/spaces/coqui/xtts/resolve/main/examples/male.wav -O /content/xtts2-hf/examples/male.wav\n", 27 | "!wget https://huggingface.co/spaces/coqui/xtts/resolve/main/ffmpeg.zip -O /content/xtts2-hf/ffmpeg.zip\n", 28 | "!python app.py" 29 | ] 30 | } 31 | ], 32 | "metadata": { 33 | "accelerator": "GPU", 34 | "colab": { 35 | "gpuType": "T4", 36 | "provenance": [] 37 | }, 38 | "kernelspec": { 39 | "display_name": "Python 3", 40 | "name": "python3" 41 | }, 42 | "language_info": { 43 | "name": "python" 44 | } 45 | }, 46 | "nbformat": 4, 47 | "nbformat_minor": 0 48 | } 49 | --------------------------------------------------------------------------------