{ "cells": [ { "cell_type": "code", "execution_count": 4, "id": "80ca0f5c", "metadata": {}, "outputs": [], "source": [ "import gradio as gr\n", "import numpy as np\n", "import torch\n", "import torch.nn.functional as F\n", "from pathlib import Path\n", "import tempfile\n", "\n", "from TTS.api import TTS\n", "from TTS.utils.manage import ModelManager" ] }, { "cell_type": "code", "execution_count": 6, "id": "4ad622cb", "metadata": { "scrolled": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ " > voice_conversion_models/multilingual/vctk/freevc24 is already downloaded.\n", " > Model's license - MIT\n", " > Check https://choosealicense.com/licenses/mit/ for more info.\n", " > Using model: freevc\n", " > Loading pretrained speaker encoder model ...\n", "Loaded the voice encoder model on cpu in 0.01 seconds.\n", "Running on local URL: http://127.0.0.1:7863\n", "\n", "To create a public link, set `share=True` in `launch()`.\n" ] }, { "data": { "text/html": [ "
" ], "text/plain": [ "