{ "nbformat": 4, "nbformat_minor": 0, "metadata": { "colab": { "provenance": [], "include_colab_link": true }, "kernelspec": { "name": "python3", "display_name": "Python 3" }, "language_info": { "name": "python" }, "accelerator": "GPU" }, "cells": [ { "cell_type": "markdown", "metadata": { "id": "view-in-github", "colab_type": "text" }, "source": [ "\"Open" ] }, { "cell_type": "markdown", "source": [ "Checking out WebUI from Git" ], "metadata": { "id": "7Y78bxUrVzPF" } }, { "cell_type": "code", "execution_count": 1, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "h85P7mbOVfby", "outputId": "536443a1-0e51-4676-be79-7a061310b49d" }, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "Cloning into 'whisper-webui'...\n", "remote: Enumerating objects: 788, done.\u001b[K\n", "remote: Counting objects: 100% (84/84), done.\u001b[K\n", "remote: Compressing objects: 100% (84/84), done.\u001b[K\n", "remote: Total 788 (delta 46), reused 0 (delta 0), pack-reused 704 (from 1)\u001b[K\n", "Receiving objects: 100% (788/788), 188.66 KiB | 7.86 MiB/s, done.\n", "Resolving deltas: 100% (517/517), done.\n" ] } ], "source": [ "!git clone https://huggingface.co/spaces/aadnk/whisper-webui" ] }, { "cell_type": "markdown", "source": [ "Optional: Update Git repository" ], "metadata": { "id": "-mZsftNvqYze" } }, { "cell_type": "code", "source": [ "!cd whisper-webui/ && git pull origin" ], "metadata": { "id": "rJYJGFJPqbdL", "outputId": "f1959d99-67dd-44fe-d106-85e2bcb600dd", "colab": { "base_uri": "https://localhost:8080/" } }, "execution_count": 2, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "Already up to date.\n" ] } ] }, { "cell_type": "code", "source": [], "metadata": { "id": "rSpbPW77dian" }, "execution_count": null, "outputs": [] }, { "cell_type": "markdown", "source": [ "Installing dependencies" ], "metadata": { "id": "ohLec8LfWBeM" } }, { "cell_type": "code", "source": [ "!cd whisper-webui/ && pip install -r requirements.txt" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "-jCbFjWpV_ci", "outputId": "877bbb4c-573b-4be0-80c6-dfaa3c26c85d" }, "execution_count": 3, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "Collecting git+https://github.com/huggingface/transformers (from -r requirements.txt (line 1))\n", " Cloning https://github.com/huggingface/transformers to /tmp/pip-req-build-33t8lylk\n", " Running command git clone --filter=blob:none --quiet https://github.com/huggingface/transformers /tmp/pip-req-build-33t8lylk\n", " Resolved https://github.com/huggingface/transformers to commit 9578c2597e2d88b6f0b304b5a05864fd613ddcc1\n", " Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n", " Getting requirements to build wheel ... \u001b[?25l\u001b[?25hdone\n", " Preparing metadata (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n", "Collecting git+https://github.com/openai/whisper.git (from -r requirements.txt (line 2))\n", " Cloning https://github.com/openai/whisper.git to /tmp/pip-req-build-j0c0wfxt\n", " Running command git clone --filter=blob:none --quiet https://github.com/openai/whisper.git /tmp/pip-req-build-j0c0wfxt\n", " Resolved https://github.com/openai/whisper.git to commit ba3f3cd54b0e5b8ce1ab3de13e32122d0d5f98ab\n", " Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n", " Getting requirements to build wheel ... \u001b[?25l\u001b[?25hdone\n", " Preparing metadata (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n", "Collecting https://github.com/pyannote/pyannote-audio/archive/refs/heads/develop.zip (from -r requirements.txt (line 16))\n", " Downloading https://github.com/pyannote/pyannote-audio/archive/refs/heads/develop.zip\n", "\u001b[2K \u001b[32m|\u001b[0m \u001b[32m14.5 MB\u001b[0m \u001b[31m4.9 MB/s\u001b[0m \u001b[33m0:00:03\u001b[0m\n", "\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Collecting ffmpeg-python==0.2.0 (from -r requirements.txt (line 4))\n", " Downloading ffmpeg_python-0.2.0-py3-none-any.whl.metadata (1.7 kB)\n", "Collecting gradio==3.38.0 (from -r requirements.txt (line 5))\n", " Downloading gradio-3.38.0-py3-none-any.whl.metadata (17 kB)\n", "Collecting gradio-client==0.8.1 (from -r requirements.txt (line 6))\n", " Downloading gradio_client-0.8.1-py3-none-any.whl.metadata (7.1 kB)\n", "Collecting yt-dlp (from -r requirements.txt (line 7))\n", " Downloading yt_dlp-2024.8.6-py3-none-any.whl.metadata (170 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m170.1/170.1 kB\u001b[0m \u001b[31m6.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: torchaudio in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 8)) (2.4.0+cu121)\n", "Requirement already satisfied: altair in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 9)) (4.2.2)\n", "Collecting json5 (from -r requirements.txt (line 10))\n", " Downloading json5-0.9.25-py3-none-any.whl.metadata (30 kB)\n", "Collecting intervaltree (from -r requirements.txt (line 13))\n", " Downloading intervaltree-3.1.0.tar.gz (32 kB)\n", " Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Collecting srt (from -r requirements.txt (line 14))\n", " Downloading srt-3.5.3.tar.gz (28 kB)\n", " Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Requirement already satisfied: torch in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 15)) (2.4.0+cu121)\n", "Requirement already satisfied: future in /usr/local/lib/python3.10/dist-packages (from ffmpeg-python==0.2.0->-r requirements.txt (line 4)) (1.0.0)\n", "Collecting aiofiles<24.0,>=22.0 (from gradio==3.38.0->-r requirements.txt (line 5))\n", " Downloading aiofiles-23.2.1-py3-none-any.whl.metadata (9.7 kB)\n", "Requirement already satisfied: aiohttp~=3.0 in /usr/local/lib/python3.10/dist-packages (from gradio==3.38.0->-r requirements.txt (line 5)) (3.10.5)\n", "Collecting fastapi (from gradio==3.38.0->-r requirements.txt (line 5))\n", " Downloading fastapi-0.112.2-py3-none-any.whl.metadata (27 kB)\n", "Collecting ffmpy (from gradio==3.38.0->-r requirements.txt (line 5))\n", " Downloading ffmpy-0.4.0-py3-none-any.whl.metadata (2.9 kB)\n", "Collecting httpx (from gradio==3.38.0->-r requirements.txt (line 5))\n", " Downloading httpx-0.27.0-py3-none-any.whl.metadata (7.2 kB)\n", "Requirement already satisfied: huggingface-hub>=0.14.0 in /usr/local/lib/python3.10/dist-packages (from gradio==3.38.0->-r requirements.txt (line 5)) (0.23.5)\n", "Requirement already satisfied: jinja2<4.0 in /usr/local/lib/python3.10/dist-packages (from gradio==3.38.0->-r requirements.txt (line 5)) (3.1.4)\n", "Requirement already satisfied: markdown-it-py>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from markdown-it-py[linkify]>=2.0.0->gradio==3.38.0->-r requirements.txt (line 5)) (3.0.0)\n", "Requirement already satisfied: markupsafe~=2.0 in /usr/local/lib/python3.10/dist-packages (from gradio==3.38.0->-r requirements.txt (line 5)) (2.1.5)\n", "Requirement already satisfied: matplotlib~=3.0 in /usr/local/lib/python3.10/dist-packages (from gradio==3.38.0->-r requirements.txt (line 5)) (3.7.1)\n", "Collecting mdit-py-plugins<=0.3.3 (from gradio==3.38.0->-r requirements.txt (line 5))\n", " Downloading mdit_py_plugins-0.3.3-py3-none-any.whl.metadata (2.8 kB)\n", "Requirement already satisfied: numpy~=1.0 in /usr/local/lib/python3.10/dist-packages (from gradio==3.38.0->-r requirements.txt (line 5)) (1.26.4)\n", "Collecting orjson~=3.0 (from gradio==3.38.0->-r requirements.txt (line 5))\n", " Downloading orjson-3.10.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (50 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m50.4/50.4 kB\u001b[0m \u001b[31m3.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from gradio==3.38.0->-r requirements.txt (line 5)) (24.1)\n", "Requirement already satisfied: pandas<3.0,>=1.0 in /usr/local/lib/python3.10/dist-packages (from gradio==3.38.0->-r requirements.txt (line 5)) (2.1.4)\n", "Requirement already satisfied: pillow<11.0,>=8.0 in /usr/local/lib/python3.10/dist-packages (from gradio==3.38.0->-r requirements.txt (line 5)) (9.4.0)\n", "Requirement already satisfied: pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,<3.0.0,>=1.7.4 in /usr/local/lib/python3.10/dist-packages (from gradio==3.38.0->-r requirements.txt (line 5)) (2.8.2)\n", "Collecting pydub (from gradio==3.38.0->-r requirements.txt (line 5))\n", " Downloading pydub-0.25.1-py2.py3-none-any.whl.metadata (1.4 kB)\n", "Collecting python-multipart (from gradio==3.38.0->-r requirements.txt (line 5))\n", " Downloading python_multipart-0.0.9-py3-none-any.whl.metadata (2.5 kB)\n", "Requirement already satisfied: pyyaml<7.0,>=5.0 in /usr/local/lib/python3.10/dist-packages (from gradio==3.38.0->-r requirements.txt (line 5)) (6.0.2)\n", "Requirement already satisfied: requests~=2.0 in /usr/local/lib/python3.10/dist-packages (from gradio==3.38.0->-r requirements.txt (line 5)) (2.32.3)\n", "Collecting semantic-version~=2.0 (from gradio==3.38.0->-r requirements.txt (line 5))\n", " Downloading semantic_version-2.10.0-py2.py3-none-any.whl.metadata (9.7 kB)\n", "Requirement already satisfied: typing-extensions~=4.0 in /usr/local/lib/python3.10/dist-packages (from gradio==3.38.0->-r requirements.txt (line 5)) (4.12.2)\n", "Collecting uvicorn>=0.14.0 (from gradio==3.38.0->-r requirements.txt (line 5))\n", " Downloading uvicorn-0.30.6-py3-none-any.whl.metadata (6.6 kB)\n", "Collecting websockets<12.0,>=10.0 (from gradio==3.38.0->-r requirements.txt (line 5))\n", " Downloading websockets-11.0.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.6 kB)\n", "Requirement already satisfied: fsspec in /usr/local/lib/python3.10/dist-packages (from gradio-client==0.8.1->-r requirements.txt (line 6)) (2024.6.1)\n", "Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from transformers==4.45.0.dev0->-r requirements.txt (line 1)) (3.15.4)\n", "Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.10/dist-packages (from transformers==4.45.0.dev0->-r requirements.txt (line 1)) (2024.5.15)\n", "Requirement already satisfied: tokenizers<0.20,>=0.19 in /usr/local/lib/python3.10/dist-packages (from transformers==4.45.0.dev0->-r requirements.txt (line 1)) (0.19.1)\n", "Requirement already satisfied: safetensors>=0.4.1 in /usr/local/lib/python3.10/dist-packages (from transformers==4.45.0.dev0->-r requirements.txt (line 1)) (0.4.4)\n", "Requirement already satisfied: tqdm>=4.27 in /usr/local/lib/python3.10/dist-packages (from transformers==4.45.0.dev0->-r requirements.txt (line 1)) (4.66.5)\n", "Requirement already satisfied: numba in /usr/local/lib/python3.10/dist-packages (from openai-whisper==20231117->-r requirements.txt (line 2)) (0.60.0)\n", "Requirement already satisfied: more-itertools in /usr/local/lib/python3.10/dist-packages (from openai-whisper==20231117->-r requirements.txt (line 2)) (10.3.0)\n", "Collecting tiktoken (from openai-whisper==20231117->-r requirements.txt (line 2))\n", " Downloading tiktoken-0.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.6 kB)\n", "Collecting triton<3,>=2.0.0 (from openai-whisper==20231117->-r requirements.txt (line 2))\n", " Downloading triton-2.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.4 kB)\n", "Collecting brotli (from yt-dlp->-r requirements.txt (line 7))\n", " Downloading Brotli-1.1.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (5.5 kB)\n", "Requirement already satisfied: certifi in /usr/local/lib/python3.10/dist-packages (from yt-dlp->-r requirements.txt (line 7)) (2024.7.4)\n", "Collecting mutagen (from yt-dlp->-r requirements.txt (line 7))\n", " Downloading mutagen-1.47.0-py3-none-any.whl.metadata (1.7 kB)\n", "Collecting pycryptodomex (from yt-dlp->-r requirements.txt (line 7))\n", " Downloading pycryptodomex-3.20.0-cp35-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)\n", "Requirement already satisfied: urllib3<3,>=1.26.17 in /usr/local/lib/python3.10/dist-packages (from yt-dlp->-r requirements.txt (line 7)) (2.0.7)\n", "INFO: pip is looking at multiple versions of yt-dlp to determine which version is compatible with other requirements. This could take a while.\n", "Collecting yt-dlp (from -r requirements.txt (line 7))\n", " Downloading yt_dlp-2024.8.1-py3-none-any.whl.metadata (170 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m170.1/170.1 kB\u001b[0m \u001b[31m13.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Downloading yt_dlp-2024.7.25-py3-none-any.whl.metadata (170 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m170.1/170.1 kB\u001b[0m \u001b[31m12.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Downloading yt_dlp-2024.7.16-py3-none-any.whl.metadata (170 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m170.1/170.1 kB\u001b[0m \u001b[31m12.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Downloading yt_dlp-2024.7.9-py3-none-any.whl.metadata (169 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m169.5/169.5 kB\u001b[0m \u001b[31m12.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Downloading yt_dlp-2024.7.8-py3-none-any.whl.metadata (169 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m169.3/169.3 kB\u001b[0m \u001b[31m12.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Downloading yt_dlp-2024.7.7-py3-none-any.whl.metadata (169 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m169.3/169.3 kB\u001b[0m \u001b[31m11.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Downloading yt_dlp-2024.7.2-py3-none-any.whl.metadata (169 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m169.3/169.3 kB\u001b[0m \u001b[31m13.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hINFO: pip is still looking at multiple versions of yt-dlp to determine which version is compatible with other requirements. This could take a while.\n", " Downloading yt_dlp-2024.7.1-py3-none-any.whl.metadata (169 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m169.3/169.3 kB\u001b[0m \u001b[31m11.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Downloading yt_dlp-2024.5.27-py3-none-any.whl.metadata (167 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m167.7/167.7 kB\u001b[0m \u001b[31m13.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Downloading yt_dlp-2024.5.26-py3-none-any.whl.metadata (167 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m167.5/167.5 kB\u001b[0m \u001b[31m13.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Downloading yt_dlp-2024.4.9-py3-none-any.whl.metadata (165 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m166.0/166.0 kB\u001b[0m \u001b[31m12.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Downloading yt_dlp-2024.3.10-py3-none-any.whl.metadata (164 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m164.1/164.1 kB\u001b[0m \u001b[31m11.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hINFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.\n", " Downloading yt_dlp-2023.12.30-py2.py3-none-any.whl.metadata (160 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m160.7/160.7 kB\u001b[0m \u001b[31m12.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Downloading yt_dlp-2023.11.16-py2.py3-none-any.whl.metadata (160 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m160.5/160.5 kB\u001b[0m \u001b[31m12.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from torch->-r requirements.txt (line 15)) (1.13.2)\n", "Requirement already satisfied: networkx in /usr/local/lib/python3.10/dist-packages (from torch->-r requirements.txt (line 15)) (3.3)\n", "Requirement already satisfied: entrypoints in /usr/local/lib/python3.10/dist-packages (from altair->-r requirements.txt (line 9)) (0.4)\n", "Requirement already satisfied: jsonschema>=3.0 in /usr/local/lib/python3.10/dist-packages (from altair->-r requirements.txt (line 9)) (4.23.0)\n", "Requirement already satisfied: toolz in /usr/local/lib/python3.10/dist-packages (from altair->-r requirements.txt (line 9)) (0.12.1)\n", "Requirement already satisfied: sortedcontainers<3.0,>=2.0 in /usr/local/lib/python3.10/dist-packages (from intervaltree->-r requirements.txt (line 13)) (2.4.0)\n", "Collecting asteroid-filterbanks>=0.4 (from pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading asteroid_filterbanks-0.4.0-py3-none-any.whl.metadata (3.3 kB)\n", "Requirement already satisfied: einops>=0.6.0 in /usr/local/lib/python3.10/dist-packages (from pyannote.audio==3.3.1->-r requirements.txt (line 16)) (0.8.0)\n", "Collecting lightning>=2.0.1 (from pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading lightning-2.4.0-py3-none-any.whl.metadata (38 kB)\n", "Collecting omegaconf<3.0,>=2.1 (from pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading omegaconf-2.3.0-py3-none-any.whl.metadata (3.9 kB)\n", "Collecting pyannote.core>=5.0.0 (from pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading pyannote.core-5.0.0-py3-none-any.whl.metadata (1.4 kB)\n", "Collecting pyannote.database>=5.0.1 (from pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading pyannote.database-5.1.0-py3-none-any.whl.metadata (1.2 kB)\n", "Collecting pyannote.metrics>=3.2 (from pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading pyannote.metrics-3.2.1-py3-none-any.whl.metadata (1.3 kB)\n", "Collecting pyannote.pipeline>=3.0.1 (from pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading pyannote.pipeline-3.0.1-py3-none-any.whl.metadata (897 bytes)\n", "Collecting pytorch_metric_learning>=2.1.0 (from pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading pytorch_metric_learning-2.6.0-py3-none-any.whl.metadata (17 kB)\n", "Requirement already satisfied: rich>=12.0.0 in /usr/local/lib/python3.10/dist-packages (from pyannote.audio==3.3.1->-r requirements.txt (line 16)) (13.7.1)\n", "Collecting semver>=3.0.0 (from pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading semver-3.0.2-py3-none-any.whl.metadata (5.0 kB)\n", "Requirement already satisfied: soundfile>=0.12.1 in /usr/local/lib/python3.10/dist-packages (from pyannote.audio==3.3.1->-r requirements.txt (line 16)) (0.12.1)\n", "Collecting speechbrain>=1.0.0 (from pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading speechbrain-1.0.0-py3-none-any.whl.metadata (23 kB)\n", "Collecting tensorboardX>=2.6 (from pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading tensorboardX-2.6.2.2-py2.py3-none-any.whl.metadata (5.8 kB)\n", "Collecting torch_audiomentations>=0.11.0 (from pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading torch_audiomentations-0.11.1-py3-none-any.whl.metadata (14 kB)\n", "Collecting torchmetrics>=0.11.0 (from pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading torchmetrics-1.4.1-py3-none-any.whl.metadata (20 kB)\n", "Requirement already satisfied: aiohappyeyeballs>=2.3.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp~=3.0->gradio==3.38.0->-r requirements.txt (line 5)) (2.4.0)\n", "Requirement already satisfied: aiosignal>=1.1.2 in /usr/local/lib/python3.10/dist-packages (from aiohttp~=3.0->gradio==3.38.0->-r requirements.txt (line 5)) (1.3.1)\n", "Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp~=3.0->gradio==3.38.0->-r requirements.txt (line 5)) (24.2.0)\n", "Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from aiohttp~=3.0->gradio==3.38.0->-r requirements.txt (line 5)) (1.4.1)\n", "Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.10/dist-packages (from aiohttp~=3.0->gradio==3.38.0->-r requirements.txt (line 5)) (6.0.5)\n", "Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp~=3.0->gradio==3.38.0->-r requirements.txt (line 5)) (1.9.4)\n", "Requirement already satisfied: async-timeout<5.0,>=4.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp~=3.0->gradio==3.38.0->-r requirements.txt (line 5)) (4.0.3)\n", "Requirement already satisfied: jsonschema-specifications>=2023.03.6 in /usr/local/lib/python3.10/dist-packages (from jsonschema>=3.0->altair->-r requirements.txt (line 9)) (2023.12.1)\n", "Requirement already satisfied: referencing>=0.28.4 in /usr/local/lib/python3.10/dist-packages (from jsonschema>=3.0->altair->-r requirements.txt (line 9)) (0.35.1)\n", "Requirement already satisfied: rpds-py>=0.7.1 in /usr/local/lib/python3.10/dist-packages (from jsonschema>=3.0->altair->-r requirements.txt (line 9)) (0.20.0)\n", "Collecting lightning-utilities<2.0,>=0.10.0 (from lightning>=2.0.1->pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading lightning_utilities-0.11.6-py3-none-any.whl.metadata (5.2 kB)\n", "Collecting pytorch-lightning (from lightning>=2.0.1->pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading pytorch_lightning-2.4.0-py3-none-any.whl.metadata (21 kB)\n", "Requirement already satisfied: mdurl~=0.1 in /usr/local/lib/python3.10/dist-packages (from markdown-it-py>=2.0.0->markdown-it-py[linkify]>=2.0.0->gradio==3.38.0->-r requirements.txt (line 5)) (0.1.2)\n", "Requirement already satisfied: linkify-it-py<3,>=1 in /usr/local/lib/python3.10/dist-packages (from markdown-it-py[linkify]>=2.0.0->gradio==3.38.0->-r requirements.txt (line 5)) (2.0.3)\n", "Requirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib~=3.0->gradio==3.38.0->-r requirements.txt (line 5)) (1.2.1)\n", "Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.10/dist-packages (from matplotlib~=3.0->gradio==3.38.0->-r requirements.txt (line 5)) (0.12.1)\n", "Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib~=3.0->gradio==3.38.0->-r requirements.txt (line 5)) (4.53.1)\n", "Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib~=3.0->gradio==3.38.0->-r requirements.txt (line 5)) (1.4.5)\n", "Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib~=3.0->gradio==3.38.0->-r requirements.txt (line 5)) (3.1.2)\n", "Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.10/dist-packages (from matplotlib~=3.0->gradio==3.38.0->-r requirements.txt (line 5)) (2.8.2)\n", "INFO: pip is looking at multiple versions of mdit-py-plugins to determine which version is compatible with other requirements. This could take a while.\n", "Collecting mdit-py-plugins<=0.3.3 (from gradio==3.38.0->-r requirements.txt (line 5))\n", " Downloading mdit_py_plugins-0.3.2-py3-none-any.whl.metadata (2.8 kB)\n", " Downloading mdit_py_plugins-0.3.1-py3-none-any.whl.metadata (2.8 kB)\n", " Downloading mdit_py_plugins-0.3.0-py3-none-any.whl.metadata (2.8 kB)\n", " Downloading mdit_py_plugins-0.2.8-py3-none-any.whl.metadata (2.8 kB)\n", " Downloading mdit_py_plugins-0.2.7-py3-none-any.whl.metadata (2.8 kB)\n", " Downloading mdit_py_plugins-0.2.6-py3-none-any.whl.metadata (2.6 kB)\n", " Downloading mdit_py_plugins-0.2.5-py3-none-any.whl.metadata (2.6 kB)\n", "INFO: pip is still looking at multiple versions of mdit-py-plugins to determine which version is compatible with other requirements. This could take a while.\n", " Downloading mdit_py_plugins-0.2.4-py3-none-any.whl.metadata (2.6 kB)\n", " Downloading mdit_py_plugins-0.2.3-py3-none-any.whl.metadata (2.6 kB)\n", " Downloading mdit_py_plugins-0.2.2-py3-none-any.whl.metadata (2.6 kB)\n", " Downloading mdit_py_plugins-0.2.1-py3-none-any.whl.metadata (2.6 kB)\n", " Downloading mdit_py_plugins-0.2.0-py3-none-any.whl.metadata (2.6 kB)\n", "INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.\n", " Downloading mdit_py_plugins-0.1.0-py3-none-any.whl.metadata (2.6 kB)\n", "Collecting markdown-it-py[linkify]>=2.0.0 (from gradio==3.38.0->-r requirements.txt (line 5))\n", " Using cached markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)\n", " Downloading markdown_it_py-2.2.0-py3-none-any.whl.metadata (6.8 kB)\n", "Collecting antlr4-python3-runtime==4.9.* (from omegaconf<3.0,>=2.1->pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading antlr4-python3-runtime-4.9.3.tar.gz (117 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m117.0/117.0 kB\u001b[0m \u001b[31m9.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.10/dist-packages (from pandas<3.0,>=1.0->gradio==3.38.0->-r requirements.txt (line 5)) (2024.1)\n", "Requirement already satisfied: tzdata>=2022.1 in /usr/local/lib/python3.10/dist-packages (from pandas<3.0,>=1.0->gradio==3.38.0->-r requirements.txt (line 5)) (2024.1)\n", "Requirement already satisfied: scipy>=1.1 in /usr/local/lib/python3.10/dist-packages (from pyannote.core>=5.0.0->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (1.13.1)\n", "Requirement already satisfied: typer>=0.12.1 in /usr/local/lib/python3.10/dist-packages (from pyannote.database>=5.0.1->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (0.12.4)\n", "Requirement already satisfied: scikit-learn>=0.17.1 in /usr/local/lib/python3.10/dist-packages (from pyannote.metrics>=3.2->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (1.3.2)\n", "Collecting docopt>=0.6.2 (from pyannote.metrics>=3.2->pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading docopt-0.6.2.tar.gz (25 kB)\n", " Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Requirement already satisfied: tabulate>=0.7.7 in /usr/local/lib/python3.10/dist-packages (from pyannote.metrics>=3.2->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (0.9.0)\n", "Collecting optuna>=3.1 (from pyannote.pipeline>=3.0.1->pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading optuna-3.6.1-py3-none-any.whl.metadata (17 kB)\n", "Requirement already satisfied: annotated-types>=0.4.0 in /usr/local/lib/python3.10/dist-packages (from pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,<3.0.0,>=1.7.4->gradio==3.38.0->-r requirements.txt (line 5)) (0.7.0)\n", "Requirement already satisfied: pydantic-core==2.20.1 in /usr/local/lib/python3.10/dist-packages (from pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,<3.0.0,>=1.7.4->gradio==3.38.0->-r requirements.txt (line 5)) (2.20.1)\n", "Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests~=2.0->gradio==3.38.0->-r requirements.txt (line 5)) (3.3.2)\n", "Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests~=2.0->gradio==3.38.0->-r requirements.txt (line 5)) (3.7)\n", "Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /usr/local/lib/python3.10/dist-packages (from rich>=12.0.0->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (2.16.1)\n", "Requirement already satisfied: cffi>=1.0 in /usr/local/lib/python3.10/dist-packages (from soundfile>=0.12.1->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (1.17.0)\n", "Collecting hyperpyyaml (from speechbrain>=1.0.0->pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading HyperPyYAML-1.2.2-py3-none-any.whl.metadata (7.6 kB)\n", "Requirement already satisfied: joblib in /usr/local/lib/python3.10/dist-packages (from speechbrain>=1.0.0->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (1.4.2)\n", "Requirement already satisfied: sentencepiece in /usr/local/lib/python3.10/dist-packages (from speechbrain>=1.0.0->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (0.1.99)\n", "Requirement already satisfied: mpmath<1.4,>=1.1.0 in /usr/local/lib/python3.10/dist-packages (from sympy->torch->-r requirements.txt (line 15)) (1.3.0)\n", "Requirement already satisfied: protobuf>=3.20 in /usr/local/lib/python3.10/dist-packages (from tensorboardX>=2.6->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (3.20.3)\n", "Collecting julius<0.3,>=0.2.3 (from torch_audiomentations>=0.11.0->pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading julius-0.2.7.tar.gz (59 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m59.6/59.6 kB\u001b[0m \u001b[31m5.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Requirement already satisfied: librosa>=0.6.0 in /usr/local/lib/python3.10/dist-packages (from torch_audiomentations>=0.11.0->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (0.10.2.post1)\n", "Collecting torch-pitch-shift>=1.2.2 (from torch_audiomentations>=0.11.0->pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading torch_pitch_shift-1.2.4-py3-none-any.whl.metadata (2.5 kB)\n", "Requirement already satisfied: click>=7.0 in /usr/local/lib/python3.10/dist-packages (from uvicorn>=0.14.0->gradio==3.38.0->-r requirements.txt (line 5)) (8.1.7)\n", "Collecting h11>=0.8 (from uvicorn>=0.14.0->gradio==3.38.0->-r requirements.txt (line 5))\n", " Downloading h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)\n", "Collecting starlette<0.39.0,>=0.37.2 (from fastapi->gradio==3.38.0->-r requirements.txt (line 5))\n", " Downloading starlette-0.38.2-py3-none-any.whl.metadata (5.9 kB)\n", "Requirement already satisfied: anyio in /usr/local/lib/python3.10/dist-packages (from httpx->gradio==3.38.0->-r requirements.txt (line 5)) (3.7.1)\n", "Collecting httpcore==1.* (from httpx->gradio==3.38.0->-r requirements.txt (line 5))\n", " Downloading httpcore-1.0.5-py3-none-any.whl.metadata (20 kB)\n", "Requirement already satisfied: sniffio in /usr/local/lib/python3.10/dist-packages (from httpx->gradio==3.38.0->-r requirements.txt (line 5)) (1.3.1)\n", "Requirement already satisfied: llvmlite<0.44,>=0.43.0dev0 in /usr/local/lib/python3.10/dist-packages (from numba->openai-whisper==20231117->-r requirements.txt (line 2)) (0.43.0)\n", "Requirement already satisfied: pycparser in /usr/local/lib/python3.10/dist-packages (from cffi>=1.0->soundfile>=0.12.1->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (2.22)\n", "Requirement already satisfied: audioread>=2.1.9 in /usr/local/lib/python3.10/dist-packages (from librosa>=0.6.0->torch_audiomentations>=0.11.0->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (3.0.1)\n", "Requirement already satisfied: decorator>=4.3.0 in /usr/local/lib/python3.10/dist-packages (from librosa>=0.6.0->torch_audiomentations>=0.11.0->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (4.4.2)\n", "Requirement already satisfied: pooch>=1.1 in /usr/local/lib/python3.10/dist-packages (from librosa>=0.6.0->torch_audiomentations>=0.11.0->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (1.8.2)\n", "Requirement already satisfied: soxr>=0.3.2 in /usr/local/lib/python3.10/dist-packages (from librosa>=0.6.0->torch_audiomentations>=0.11.0->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (0.4.0)\n", "Requirement already satisfied: lazy-loader>=0.1 in /usr/local/lib/python3.10/dist-packages (from librosa>=0.6.0->torch_audiomentations>=0.11.0->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (0.4)\n", "Requirement already satisfied: msgpack>=1.0 in /usr/local/lib/python3.10/dist-packages (from librosa>=0.6.0->torch_audiomentations>=0.11.0->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (1.0.8)\n", "Requirement already satisfied: setuptools in /usr/local/lib/python3.10/dist-packages (from lightning-utilities<2.0,>=0.10.0->lightning>=2.0.1->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (71.0.4)\n", "Requirement already satisfied: uc-micro-py in /usr/local/lib/python3.10/dist-packages (from linkify-it-py<3,>=1->markdown-it-py[linkify]>=2.0.0->gradio==3.38.0->-r requirements.txt (line 5)) (1.0.3)\n", "Collecting alembic>=1.5.0 (from optuna>=3.1->pyannote.pipeline>=3.0.1->pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading alembic-1.13.2-py3-none-any.whl.metadata (7.4 kB)\n", "Collecting colorlog (from optuna>=3.1->pyannote.pipeline>=3.0.1->pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading colorlog-6.8.2-py3-none-any.whl.metadata (10 kB)\n", "Requirement already satisfied: sqlalchemy>=1.3.0 in /usr/local/lib/python3.10/dist-packages (from optuna>=3.1->pyannote.pipeline>=3.0.1->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (2.0.32)\n", "Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/dist-packages (from python-dateutil>=2.7->matplotlib~=3.0->gradio==3.38.0->-r requirements.txt (line 5)) (1.16.0)\n", "Requirement already satisfied: threadpoolctl>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from scikit-learn>=0.17.1->pyannote.metrics>=3.2->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (3.5.0)\n", "Requirement already satisfied: exceptiongroup in /usr/local/lib/python3.10/dist-packages (from anyio->httpx->gradio==3.38.0->-r requirements.txt (line 5)) (1.2.2)\n", "Collecting primePy>=1.3 (from torch-pitch-shift>=1.2.2->torch_audiomentations>=0.11.0->pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading primePy-1.3-py3-none-any.whl.metadata (4.8 kB)\n", "Requirement already satisfied: shellingham>=1.3.0 in /usr/local/lib/python3.10/dist-packages (from typer>=0.12.1->pyannote.database>=5.0.1->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (1.5.4)\n", "Collecting ruamel.yaml>=0.17.28 (from hyperpyyaml->speechbrain>=1.0.0->pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading ruamel.yaml-0.18.6-py3-none-any.whl.metadata (23 kB)\n", "Collecting Mako (from alembic>=1.5.0->optuna>=3.1->pyannote.pipeline>=3.0.1->pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading Mako-1.3.5-py3-none-any.whl.metadata (2.9 kB)\n", "Requirement already satisfied: platformdirs>=2.5.0 in /usr/local/lib/python3.10/dist-packages (from pooch>=1.1->librosa>=0.6.0->torch_audiomentations>=0.11.0->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (4.2.2)\n", "Collecting ruamel.yaml.clib>=0.2.7 (from ruamel.yaml>=0.17.28->hyperpyyaml->speechbrain>=1.0.0->pyannote.audio==3.3.1->-r requirements.txt (line 16))\n", " Downloading ruamel.yaml.clib-0.2.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl.metadata (2.2 kB)\n", "Requirement already satisfied: greenlet!=0.4.17 in /usr/local/lib/python3.10/dist-packages (from sqlalchemy>=1.3.0->optuna>=3.1->pyannote.pipeline>=3.0.1->pyannote.audio==3.3.1->-r requirements.txt (line 16)) (3.0.3)\n", "Downloading ffmpeg_python-0.2.0-py3-none-any.whl (25 kB)\n", "Downloading gradio-3.38.0-py3-none-any.whl (19.8 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m19.8/19.8 MB\u001b[0m \u001b[31m75.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading gradio_client-0.8.1-py3-none-any.whl (305 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m305.2/305.2 kB\u001b[0m \u001b[31m26.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading yt_dlp-2023.11.16-py2.py3-none-any.whl (3.1 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.1/3.1 MB\u001b[0m \u001b[31m78.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading json5-0.9.25-py3-none-any.whl (30 kB)\n", "Downloading aiofiles-23.2.1-py3-none-any.whl (15 kB)\n", "Downloading asteroid_filterbanks-0.4.0-py3-none-any.whl (29 kB)\n", "Downloading lightning-2.4.0-py3-none-any.whl (810 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m811.0/811.0 kB\u001b[0m \u001b[31m45.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading markdown_it_py-2.2.0-py3-none-any.whl (84 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m84.5/84.5 kB\u001b[0m \u001b[31m6.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading mdit_py_plugins-0.3.3-py3-none-any.whl (50 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m50.5/50.5 kB\u001b[0m \u001b[31m3.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading omegaconf-2.3.0-py3-none-any.whl (79 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m79.5/79.5 kB\u001b[0m \u001b[31m7.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading orjson-3.10.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (141 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m141.9/141.9 kB\u001b[0m \u001b[31m11.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading pyannote.core-5.0.0-py3-none-any.whl (58 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m58.5/58.5 kB\u001b[0m \u001b[31m5.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading pyannote.database-5.1.0-py3-none-any.whl (48 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m48.1/48.1 kB\u001b[0m \u001b[31m3.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading pyannote.metrics-3.2.1-py3-none-any.whl (51 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m51.4/51.4 kB\u001b[0m \u001b[31m4.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading pyannote.pipeline-3.0.1-py3-none-any.whl (31 kB)\n", "Downloading pytorch_metric_learning-2.6.0-py3-none-any.whl (119 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m119.3/119.3 kB\u001b[0m \u001b[31m10.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)\n", "Downloading semver-3.0.2-py3-none-any.whl (17 kB)\n", "Downloading speechbrain-1.0.0-py3-none-any.whl (760 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m760.1/760.1 kB\u001b[0m \u001b[31m49.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading tensorboardX-2.6.2.2-py2.py3-none-any.whl (101 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m101.7/101.7 kB\u001b[0m \u001b[31m9.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading torch_audiomentations-0.11.1-py3-none-any.whl (50 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m50.1/50.1 kB\u001b[0m \u001b[31m4.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading torchmetrics-1.4.1-py3-none-any.whl (866 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m866.2/866.2 kB\u001b[0m \u001b[31m49.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading triton-2.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (168.1 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m168.1/168.1 MB\u001b[0m \u001b[31m6.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading uvicorn-0.30.6-py3-none-any.whl (62 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m62.8/62.8 kB\u001b[0m \u001b[31m5.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading websockets-11.0.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (129 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m129.9/129.9 kB\u001b[0m \u001b[31m11.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading Brotli-1.1.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (3.0 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.0/3.0 MB\u001b[0m \u001b[31m96.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading fastapi-0.112.2-py3-none-any.whl (93 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m93.5/93.5 kB\u001b[0m \u001b[31m8.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading ffmpy-0.4.0-py3-none-any.whl (5.8 kB)\n", "Downloading httpx-0.27.0-py3-none-any.whl (75 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m75.6/75.6 kB\u001b[0m \u001b[31m7.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading httpcore-1.0.5-py3-none-any.whl (77 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m77.9/77.9 kB\u001b[0m \u001b[31m7.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading mutagen-1.47.0-py3-none-any.whl (194 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m194.4/194.4 kB\u001b[0m \u001b[31m15.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading pycryptodomex-3.20.0-cp35-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.1/2.1 MB\u001b[0m \u001b[31m80.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading pydub-0.25.1-py2.py3-none-any.whl (32 kB)\n", "Downloading python_multipart-0.0.9-py3-none-any.whl (22 kB)\n", "Downloading tiktoken-0.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.1/1.1 MB\u001b[0m \u001b[31m59.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading h11-0.14.0-py3-none-any.whl (58 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m58.3/58.3 kB\u001b[0m \u001b[31m5.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading lightning_utilities-0.11.6-py3-none-any.whl (26 kB)\n", "Downloading optuna-3.6.1-py3-none-any.whl (380 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m380.1/380.1 kB\u001b[0m \u001b[31m29.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading starlette-0.38.2-py3-none-any.whl (72 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m72.0/72.0 kB\u001b[0m \u001b[31m6.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading torch_pitch_shift-1.2.4-py3-none-any.whl (4.9 kB)\n", "Downloading HyperPyYAML-1.2.2-py3-none-any.whl (16 kB)\n", "Downloading pytorch_lightning-2.4.0-py3-none-any.whl (815 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m815.2/815.2 kB\u001b[0m \u001b[31m38.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading alembic-1.13.2-py3-none-any.whl (232 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m233.0/233.0 kB\u001b[0m \u001b[31m20.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading primePy-1.3-py3-none-any.whl (4.0 kB)\n", "Downloading ruamel.yaml-0.18.6-py3-none-any.whl (117 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m117.8/117.8 kB\u001b[0m \u001b[31m10.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading colorlog-6.8.2-py3-none-any.whl (11 kB)\n", "Downloading ruamel.yaml.clib-0.2.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (526 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m526.7/526.7 kB\u001b[0m \u001b[31m35.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading Mako-1.3.5-py3-none-any.whl (78 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m78.6/78.6 kB\u001b[0m \u001b[31m6.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hBuilding wheels for collected packages: transformers, openai-whisper, intervaltree, srt, pyannote.audio, antlr4-python3-runtime, docopt, julius\n", " Building wheel for transformers (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for transformers: filename=transformers-4.45.0.dev0-py3-none-any.whl size=9588672 sha256=fccf39bfdb9c7dede1c57c67f88b4b79a6d35e4371f2c3495fe1b60b7f7fa22c\n", " Stored in directory: /tmp/pip-ephem-wheel-cache-2y9ck88g/wheels/c0/14/d6/6c9a5582d2ac191ec0a483be151a4495fe1eb2a6706ca49f1b\n", " Building wheel for openai-whisper (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for openai-whisper: filename=openai_whisper-20231117-py3-none-any.whl size=802825 sha256=7c98c6cbfc76ed1f3a11c7d9d8297f42e6c2ab0c441f3fe6d2a3114208276db8\n", " Stored in directory: /tmp/pip-ephem-wheel-cache-2y9ck88g/wheels/8b/6c/d0/622666868c179f156cf595c8b6f06f88bc5d80c4b31dccaa03\n", " Building wheel for intervaltree (setup.py) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for intervaltree: filename=intervaltree-3.1.0-py2.py3-none-any.whl size=26096 sha256=ac3d65b8a22dfb1a0d28dda98f96aee391e67ff0663f8df57478421951555e48\n", " Stored in directory: /root/.cache/pip/wheels/fa/80/8c/43488a924a046b733b64de3fac99252674c892a4c3801c0a61\n", " Building wheel for srt (setup.py) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for srt: filename=srt-3.5.3-py3-none-any.whl size=22428 sha256=89e27feacb476dec7dd31345dbe2d9a788ad970db6ec4633e6762a8209105bce\n", " Stored in directory: /root/.cache/pip/wheels/d7/31/a1/18e1e7e8bfdafd19e6803d7eb919b563dd11de380e4304e332\n", " Building wheel for pyannote.audio (setup.py) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for pyannote.audio: filename=pyannote.audio-3.3.1-py2.py3-none-any.whl size=897698 sha256=d55ad79a22f387be0798cf8484ec0a4e2f71e077bbb118e4720c857e2bb87ab0\n", " Stored in directory: /tmp/pip-ephem-wheel-cache-2y9ck88g/wheels/7c/5a/19/fb68405a08217978145b963d2cb9f755eb2599a374b6d52634\n", " Building wheel for antlr4-python3-runtime (setup.py) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.9.3-py3-none-any.whl size=144554 sha256=0d419a895a58f29ef8d1f7ba18685d0c2b185505483b9c9684a7fb7360831d78\n", " Stored in directory: /root/.cache/pip/wheels/12/93/dd/1f6a127edc45659556564c5730f6d4e300888f4bca2d4c5a88\n", " Building wheel for docopt (setup.py) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl size=13704 sha256=7143984576e28070df9d74235799ad7586dbbc503ef721901ef4c41ae561a778\n", " Stored in directory: /root/.cache/pip/wheels/fc/ab/d4/5da2067ac95b36618c629a5f93f809425700506f72c9732fac\n", " Building wheel for julius (setup.py) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for julius: filename=julius-0.2.7-py3-none-any.whl size=21869 sha256=1b964145df6e6168d6b1ab2851236fecb28b60048f9c8b54e50b8756963c1bb8\n", " Stored in directory: /root/.cache/pip/wheels/b9/b2/05/f883527ffcb7f2ead5438a2c23439aa0c881eaa9a4c80256f4\n", "Successfully built transformers openai-whisper intervaltree srt pyannote.audio antlr4-python3-runtime docopt julius\n", "Installing collected packages: pydub, primePy, docopt, brotli, antlr4-python3-runtime, websockets, triton, tensorboardX, srt, semver, semantic-version, ruamel.yaml.clib, python-multipart, pycryptodomex, orjson, omegaconf, mutagen, markdown-it-py, Mako, lightning-utilities, json5, intervaltree, h11, ffmpy, ffmpeg-python, colorlog, aiofiles, yt-dlp, uvicorn, tiktoken, starlette, ruamel.yaml, pyannote.core, mdit-py-plugins, httpcore, alembic, torchmetrics, pytorch_metric_learning, optuna, openai-whisper, julius, hyperpyyaml, httpx, fastapi, asteroid-filterbanks, transformers, torch-pitch-shift, speechbrain, pytorch-lightning, pyannote.database, gradio-client, torch_audiomentations, pyannote.pipeline, pyannote.metrics, lightning, gradio, pyannote.audio\n", " Attempting uninstall: markdown-it-py\n", " Found existing installation: markdown-it-py 3.0.0\n", " Uninstalling markdown-it-py-3.0.0:\n", " Successfully uninstalled markdown-it-py-3.0.0\n", " Attempting uninstall: mdit-py-plugins\n", " Found existing installation: mdit-py-plugins 0.4.1\n", " Uninstalling mdit-py-plugins-0.4.1:\n", " Successfully uninstalled mdit-py-plugins-0.4.1\n", " Attempting uninstall: transformers\n", " Found existing installation: transformers 4.42.4\n", " Uninstalling transformers-4.42.4:\n", " Successfully uninstalled transformers-4.42.4\n", "Successfully installed Mako-1.3.5 aiofiles-23.2.1 alembic-1.13.2 antlr4-python3-runtime-4.9.3 asteroid-filterbanks-0.4.0 brotli-1.1.0 colorlog-6.8.2 docopt-0.6.2 fastapi-0.112.2 ffmpeg-python-0.2.0 ffmpy-0.4.0 gradio-3.38.0 gradio-client-0.8.1 h11-0.14.0 httpcore-1.0.5 httpx-0.27.0 hyperpyyaml-1.2.2 intervaltree-3.1.0 json5-0.9.25 julius-0.2.7 lightning-2.4.0 lightning-utilities-0.11.6 markdown-it-py-2.2.0 mdit-py-plugins-0.3.3 mutagen-1.47.0 omegaconf-2.3.0 openai-whisper-20231117 optuna-3.6.1 orjson-3.10.7 primePy-1.3 pyannote.audio-3.3.1 pyannote.core-5.0.0 pyannote.database-5.1.0 pyannote.metrics-3.2.1 pyannote.pipeline-3.0.1 pycryptodomex-3.20.0 pydub-0.25.1 python-multipart-0.0.9 pytorch-lightning-2.4.0 pytorch_metric_learning-2.6.0 ruamel.yaml-0.18.6 ruamel.yaml.clib-0.2.8 semantic-version-2.10.0 semver-3.0.2 speechbrain-1.0.0 srt-3.5.3 starlette-0.38.2 tensorboardX-2.6.2.2 tiktoken-0.7.0 torch-pitch-shift-1.2.4 torch_audiomentations-0.11.1 torchmetrics-1.4.1 transformers-4.45.0.dev0 triton-2.3.1 uvicorn-0.30.6 websockets-11.0.3 yt-dlp-2023.11.16\n" ] } ] }, { "cell_type": "markdown", "source": [ "Run WebUI" ], "metadata": { "id": "x55yRVjOWW3c" } }, { "cell_type": "code", "source": [ "!cd whisper-webui/ && python app.py --input_audio_max_duration -1 --share True" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "IuL5nGTIWYTY", "outputId": "2e3cf26c-871c-436a-85b4-4cbabda83232" }, "execution_count": null, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "2024-08-27 01:33:47.216564: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:485] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\n", "2024-08-27 01:33:47.236192: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:8454] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\n", "2024-08-27 01:33:47.241993: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1452] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\n", "2024-08-27 01:33:47.256952: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\n", "To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\n", "2024-08-27 01:33:48.372726: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\n", "Using whisper implementation: whisper\n", "IMPORTANT: You are using gradio version 3.38.0, however version 4.29.0 is available, please upgrade.\n", "--------\n", "IMPORTANT: You are using gradio version 3.38.0, however version 4.29.0 is available, please upgrade.\n", "--------\n", "Queue mode enabled (concurrency count: 1)\n", "IMPORTANT: You are using gradio version 3.38.0, however version 4.29.0 is available, please upgrade.\n", "--------\n", "Running on local URL: http://127.0.0.1:7860\n", "IMPORTANT: You are using gradio version 3.38.0, however version 4.29.0 is available, please upgrade.\n", "--------\n", "Running on public URL: https://95c75d4f3d2b1fbc7f.gradio.live\n", "\n", "This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces)\n", "Creating whisper container for whisper\n", "Downloading: \"https://github.com/snakers4/silero-vad/zipball/master\" to /root/.cache/torch/hub/master.zip\n", "Created Silerio model\n", "Getting timestamps from audio file: /tmp/gradio/8be49f58afb78f96968e56cdc661893ade9cdb78/START-154.mp3, start: 0, duration: 8667.024\n", "Processing VAD in chunk from 00:00.000 to 01:00:00.000\n" ] } ] }, { "cell_type": "markdown", "source": [], "metadata": { "id": "07ESBkbHdj-N" } }, { "cell_type": "markdown", "source": [ "# Google Drive\n", "\n", "This version of the WebUI can automatically save the generated SRT/VTT/Transcript files to Google Drive (requires Google Drive authorization)." ], "metadata": { "id": "Qr-wItBTdr0d" } }, { "cell_type": "markdown", "source": [ "Mount Google Drive" ], "metadata": { "id": "iEu9Q5yreDEw" } }, { "cell_type": "code", "source": [ "from google.colab import drive\n", "drive.mount('/content/drive')" ], "metadata": { "id": "KHNLATd9d_CP" }, "execution_count": null, "outputs": [] }, { "cell_type": "markdown", "source": [ "Let Whisper use Google Drive as Temp Directory. Note that the directory \"Whisper\" must exist on your Google Drive (or rename it)." ], "metadata": { "id": "fhbQGntFeEwJ" } }, { "cell_type": "code", "source": [ "!cd whisper-webui/ && python app.py --input_audio_max_duration -1 --share True --auto_parallel True --output_dir /content/drive/MyDrive/Whisper" ], "metadata": { "id": "qaXqjHuCecAg" }, "execution_count": null, "outputs": [] }, { "cell_type": "markdown", "source": [ "# Information" ], "metadata": { "id": "R2mqmp4fQ3k9" } }, { "cell_type": "markdown", "source": [ "Optional: Get GPU Information (run this before starting the Web UI)" ], "metadata": { "id": "BNZoCQ7v-u2y" } }, { "cell_type": "code", "source": [ "!nvidia-smi -L" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "dRgRXEAN-yGH", "outputId": "5029c4a5-f84d-41bc-a2be-26946ef8afc9" }, "execution_count": null, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "GPU 0: Tesla T4 (UUID: GPU-c5511d0c-8750-08b5-7c7b-d7d49b9c448f)\n" ] } ] }, { "cell_type": "markdown", "source": [ "Optional: Get environment information" ], "metadata": { "id": "KzIihccPJQFX" } }, { "cell_type": "code", "source": [ "!pip list" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "GXlms9oPJTiN", "outputId": "93e5b1da-f473-47de-f359-aa5192020250" }, "execution_count": null, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "Package Version\n", "----------------------------- ---------------------\n", "absl-py 1.4.0\n", "aiofiles 23.1.0\n", "aiohttp 3.8.4\n", "aiosignal 1.3.1\n", "alabaster 0.7.13\n", "albumentations 1.2.1\n", "altair 4.2.2\n", "anyio 3.6.2\n", "appdirs 1.4.4\n", "argon2-cffi 21.3.0\n", "argon2-cffi-bindings 21.2.0\n", "array-record 0.2.0\n", "arviz 0.15.1\n", "astropy 5.2.2\n", "astunparse 1.6.3\n", "async-timeout 4.0.2\n", "attrs 23.1.0\n", "audioread 3.0.0\n", "autograd 1.5\n", "Babel 2.12.1\n", "backcall 0.2.0\n", "beautifulsoup4 4.11.2\n", "bleach 6.0.0\n", "blis 0.7.9\n", "blosc2 2.0.0\n", "bokeh 2.4.3\n", "branca 0.6.0\n", "Brotli 1.0.9\n", "build 0.10.0\n", "CacheControl 0.12.11\n", "cached-property 1.5.2\n", "cachetools 5.3.0\n", "catalogue 2.0.8\n", "certifi 2022.12.7\n", "cffi 1.15.1\n", "chardet 4.0.0\n", "charset-normalizer 2.0.12\n", "chex 0.1.7\n", "click 8.1.3\n", "cloudpickle 2.2.1\n", "cmake 3.25.2\n", "cmdstanpy 1.1.0\n", "colorcet 3.0.1\n", "colorlover 0.3.0\n", "community 1.0.0b1\n", "confection 0.0.4\n", "cons 0.4.5\n", "contextlib2 0.6.0.post1\n", "contourpy 1.0.7\n", "convertdate 2.4.0\n", "cryptography 40.0.2\n", "cufflinks 0.17.3\n", "cupy-cuda11x 11.0.0\n", "cvxopt 1.3.0\n", "cvxpy 1.3.1\n", "cycler 0.11.0\n", "cymem 2.0.7\n", "Cython 0.29.34\n", "dask 2022.12.1\n", "datascience 0.17.6\n", "db-dtypes 1.1.1\n", "dbus-python 1.2.16\n", "debugpy 1.6.6\n", "decorator 4.4.2\n", "defusedxml 0.7.1\n", "distributed 2022.12.1\n", "dlib 19.24.1\n", "dm-tree 0.1.8\n", "docutils 0.16\n", "dopamine-rl 4.0.6\n", "duckdb 0.7.1\n", "earthengine-api 0.1.350\n", "easydict 1.10\n", "ecos 2.0.12\n", "editdistance 0.6.2\n", "en-core-web-sm 3.5.0\n", "entrypoints 0.4\n", "ephem 4.1.4\n", "et-xmlfile 1.1.0\n", "etils 1.2.0\n", "etuples 0.3.8\n", "exceptiongroup 1.1.1\n", "fastai 2.7.12\n", "fastapi 0.96.0\n", "fastcore 1.5.29\n", "fastdownload 0.0.7\n", "fastjsonschema 2.16.3\n", "fastprogress 1.0.3\n", "fastrlock 0.8.1\n", "ffmpeg-python 0.2.0\n", "ffmpy 0.3.0\n", "filelock 3.12.0\n", "firebase-admin 5.3.0\n", "Flask 2.2.4\n", "flatbuffers 23.3.3\n", "flax 0.6.9\n", "folium 0.14.0\n", "fonttools 4.39.3\n", "frozendict 2.3.7\n", "frozenlist 1.3.3\n", "fsspec 2023.4.0\n", "future 0.18.3\n", "gast 0.4.0\n", "GDAL 3.3.2\n", "gdown 4.6.6\n", "gensim 4.3.1\n", "geographiclib 2.0\n", "geopy 2.3.0\n", "gin-config 0.5.0\n", "glob2 0.7\n", "google 2.0.3\n", "google-api-core 2.11.0\n", "google-api-python-client 2.84.0\n", "google-auth 2.17.3\n", "google-auth-httplib2 0.1.0\n", "google-auth-oauthlib 1.0.0\n", "google-cloud-bigquery 3.9.0\n", "google-cloud-bigquery-storage 2.19.1\n", "google-cloud-core 2.3.2\n", "google-cloud-datastore 2.15.1\n", "google-cloud-firestore 2.11.0\n", "google-cloud-language 2.9.1\n", "google-cloud-storage 2.8.0\n", "google-cloud-translate 3.11.1\n", "google-colab 1.0.0\n", "google-crc32c 1.5.0\n", "google-pasta 0.2.0\n", "google-resumable-media 2.5.0\n", "googleapis-common-protos 1.59.0\n", "googledrivedownloader 0.4\n", "gradio 3.23.0\n", "graphviz 0.20.1\n", "greenlet 2.0.2\n", "grpcio 1.54.0\n", "grpcio-status 1.48.2\n", "gspread 3.4.2\n", "gspread-dataframe 3.0.8\n", "gym 0.25.2\n", "gym-notices 0.0.8\n", "h11 0.14.0\n", "h5netcdf 1.1.0\n", "h5py 3.8.0\n", "holidays 0.25\n", "holoviews 1.15.4\n", "html5lib 1.1\n", "httpcore 0.17.2\n", "httpimport 1.3.0\n", "httplib2 0.21.0\n", "httpx 0.24.1\n", "huggingface-hub 0.15.1\n", "humanize 4.6.0\n", "hyperopt 0.2.7\n", "idna 3.4\n", "imageio 2.25.1\n", "imageio-ffmpeg 0.4.8\n", "imagesize 1.4.1\n", "imbalanced-learn 0.10.1\n", "imgaug 0.4.0\n", "importlib-resources 5.12.0\n", "imutils 0.5.4\n", "inflect 6.0.4\n", "iniconfig 2.0.0\n", "intel-openmp 2023.1.0\n", "ipykernel 5.5.6\n", "ipython 7.34.0\n", "ipython-genutils 0.2.0\n", "ipython-sql 0.4.1\n", "ipywidgets 7.7.1\n", "itsdangerous 2.1.2\n", "jax 0.4.10\n", "jaxlib 0.4.10+cuda11.cudnn86\n", "jieba 0.42.1\n", "Jinja2 3.1.2\n", "joblib 1.2.0\n", "json5 0.9.14\n", "jsonpickle 3.0.1\n", "jsonschema 4.3.3\n", "jupyter-client 6.1.12\n", "jupyter-console 6.1.0\n", "jupyter_core 5.3.0\n", "jupyter-server 1.24.0\n", "jupyterlab-pygments 0.2.2\n", "jupyterlab-widgets 3.0.7\n", "kaggle 1.5.13\n", "keras 2.12.0\n", "kiwisolver 1.4.4\n", "korean-lunar-calendar 0.3.1\n", "langcodes 3.3.0\n", "lazy_loader 0.2\n", "libclang 16.0.0\n", "librosa 0.10.0.post2\n", "lightgbm 3.3.5\n", "linkify-it-py 2.0.2\n", "lit 16.0.5\n", "llvmlite 0.39.1\n", "locket 1.0.0\n", "logical-unification 0.4.5\n", "LunarCalendar 0.0.9\n", "lxml 4.9.2\n", "Markdown 3.4.3\n", "markdown-it-py 2.2.0\n", "MarkupSafe 2.1.2\n", "matplotlib 3.7.1\n", "matplotlib-inline 0.1.6\n", "matplotlib-venn 0.11.9\n", "mdit-py-plugins 0.3.3\n", "mdurl 0.1.2\n", "miniKanren 1.0.3\n", "missingno 0.5.2\n", "mistune 0.8.4\n", "mizani 0.8.1\n", "mkl 2019.0\n", "ml-dtypes 0.1.0\n", "mlxtend 0.14.0\n", "more-itertools 9.1.0\n", "moviepy 1.0.3\n", "mpmath 1.3.0\n", "msgpack 1.0.5\n", "multidict 6.0.4\n", "multipledispatch 0.6.0\n", "multitasking 0.0.11\n", "murmurhash 1.0.9\n", "music21 8.1.0\n", "mutagen 1.46.0\n", "natsort 8.3.1\n", "nbclient 0.7.4\n", "nbconvert 6.5.4\n", "nbformat 5.8.0\n", "nest-asyncio 1.5.6\n", "networkx 3.1\n", "nibabel 3.0.2\n", "nltk 3.8.1\n", "notebook 6.4.8\n", "numba 0.56.4\n", "numexpr 2.8.4\n", "numpy 1.22.4\n", "oauth2client 4.1.3\n", "oauthlib 3.2.2\n", "openai-whisper 20230314\n", "opencv-contrib-python 4.7.0.72\n", "opencv-python 4.7.0.72\n", "opencv-python-headless 4.7.0.72\n", "openpyxl 3.0.10\n", "opt-einsum 3.3.0\n", "optax 0.1.5\n", "orbax-checkpoint 0.2.1\n", "orjson 3.9.1\n", "osqp 0.6.2.post8\n", "packaging 23.1\n", "palettable 3.3.3\n", "pandas 1.5.3\n", "pandas-datareader 0.10.0\n", "pandas-gbq 0.17.9\n", "pandocfilters 1.5.0\n", "panel 0.14.4\n", "param 1.13.0\n", "parso 0.8.3\n", "partd 1.4.0\n", "pathlib 1.0.1\n", "pathy 0.10.1\n", "patsy 0.5.3\n", "pexpect 4.8.0\n", "pickleshare 0.7.5\n", "Pillow 8.4.0\n", "pip 23.1.2\n", "pip-tools 6.13.0\n", "platformdirs 3.3.0\n", "plotly 5.13.1\n", "plotnine 0.10.1\n", "pluggy 1.0.0\n", "polars 0.17.3\n", "pooch 1.6.0\n", "portpicker 1.3.9\n", "prefetch-generator 1.0.3\n", "preshed 3.0.8\n", "prettytable 0.7.2\n", "proglog 0.1.10\n", "progressbar2 4.2.0\n", "prometheus-client 0.16.0\n", "promise 2.3\n", "prompt-toolkit 3.0.38\n", "prophet 1.1.3\n", "proto-plus 1.22.2\n", "protobuf 3.20.3\n", "psutil 5.9.5\n", "psycopg2 2.9.6\n", "ptyprocess 0.7.0\n", "py-cpuinfo 9.0.0\n", "py4j 0.10.9.7\n", "pyarrow 9.0.0\n", "pyasn1 0.5.0\n", "pyasn1-modules 0.3.0\n", "pycocotools 2.0.6\n", "pycparser 2.21\n", "pycryptodomex 3.18.0\n", "pyct 0.5.0\n", "pydantic 1.10.7\n", "pydata-google-auth 1.7.0\n", "pydot 1.4.2\n", "pydot-ng 2.0.0\n", "pydotplus 2.0.2\n", "PyDrive 1.3.1\n", "pydub 0.25.1\n", "pyerfa 2.0.0.3\n", "pygame 2.3.0\n", "Pygments 2.14.0\n", "PyGObject 3.36.0\n", "pymc 5.1.2\n", "PyMeeus 0.5.12\n", "pymystem3 0.2.0\n", "PyOpenGL 3.1.6\n", "pyparsing 3.0.9\n", "pyproject_hooks 1.0.0\n", "pyrsistent 0.19.3\n", "PySocks 1.7.1\n", "pytensor 2.10.1\n", "pytest 7.2.2\n", "python-apt 0.0.0\n", "python-dateutil 2.8.2\n", "python-louvain 0.16\n", "python-multipart 0.0.6\n", "python-slugify 8.0.1\n", "python-utils 3.5.2\n", "pytz 2022.7.1\n", "pytz-deprecation-shim 0.1.0.post0\n", "pyviz-comms 2.2.1\n", "PyWavelets 1.4.1\n", "PyYAML 6.0\n", "pyzmq 23.2.1\n", "qdldl 0.1.7\n", "qudida 0.0.4\n", "regex 2022.10.31\n", "requests 2.27.1\n", "requests-oauthlib 1.3.1\n", "requests-unixsocket 0.2.0\n", "requirements-parser 0.5.0\n", "rich 13.3.4\n", "rpy2 3.5.5\n", "rsa 4.9\n", "safetensors 0.3.1\n", "scikit-image 0.19.3\n", "scikit-learn 1.2.2\n", "scipy 1.10.1\n", "scs 3.2.3\n", "seaborn 0.12.2\n", "semantic-version 2.10.0\n", "Send2Trash 1.8.0\n", "setuptools 67.7.2\n", "shapely 2.0.1\n", "six 1.16.0\n", "sklearn-pandas 2.2.0\n", "smart-open 6.3.0\n", "sniffio 1.3.0\n", "snowballstemmer 2.2.0\n", "sortedcontainers 2.4.0\n", "soundfile 0.12.1\n", "soupsieve 2.4.1\n", "soxr 0.3.5\n", "spacy 3.5.2\n", "spacy-legacy 3.0.12\n", "spacy-loggers 1.0.4\n", "Sphinx 3.5.4\n", "sphinxcontrib-applehelp 1.0.4\n", "sphinxcontrib-devhelp 1.0.2\n", "sphinxcontrib-htmlhelp 2.0.1\n", "sphinxcontrib-jsmath 1.0.1\n", "sphinxcontrib-qthelp 1.0.3\n", "sphinxcontrib-serializinghtml 1.1.5\n", "SQLAlchemy 2.0.10\n", "sqlparse 0.4.4\n", "srsly 2.4.6\n", "starlette 0.27.0\n", "statsmodels 0.13.5\n", "sympy 1.11.1\n", "tables 3.8.0\n", "tabulate 0.8.10\n", "tblib 1.7.0\n", "tenacity 8.2.2\n", "tensorboard 2.12.2\n", "tensorboard-data-server 0.7.0\n", "tensorboard-plugin-wit 1.8.1\n", "tensorflow 2.12.0\n", "tensorflow-datasets 4.9.2\n", "tensorflow-estimator 2.12.0\n", "tensorflow-gcs-config 2.12.0\n", "tensorflow-hub 0.13.0\n", "tensorflow-io-gcs-filesystem 0.32.0\n", "tensorflow-metadata 1.13.1\n", "tensorflow-probability 0.20.1\n", "tensorstore 0.1.36\n", "termcolor 2.3.0\n", "terminado 0.17.1\n", "text-unidecode 1.3\n", "textblob 0.17.1\n", "tf-slim 1.1.0\n", "thinc 8.1.9\n", "threadpoolctl 3.1.0\n", "tifffile 2023.4.12\n", "tiktoken 0.3.3\n", "tinycss2 1.2.1\n", "tokenizers 0.13.3\n", "toml 0.10.2\n", "tomli 2.0.1\n", "toolz 0.12.0\n", "torch 2.0.1+cu118\n", "torchaudio 2.0.2+cu118\n", "torchdata 0.6.1\n", "torchsummary 1.5.1\n", "torchtext 0.15.2\n", "torchvision 0.15.2+cu118\n", "tornado 6.3.1\n", "tqdm 4.65.0\n", "traitlets 5.7.1\n", "transformers 4.31.0.dev0\n", "triton 2.0.0\n", "tweepy 4.13.0\n", "typer 0.7.0\n", "types-setuptools 67.8.0.0\n", "typing_extensions 4.5.0\n", "tzdata 2023.3\n", "tzlocal 4.3\n", "uc-micro-py 1.0.2\n", "uritemplate 4.1.1\n", "urllib3 1.26.15\n", "uvicorn 0.22.0\n", "vega-datasets 0.9.0\n", "wasabi 1.1.1\n", "wcwidth 0.2.6\n", "webcolors 1.13\n", "webencodings 0.5.1\n", "websocket-client 1.5.1\n", "websockets 11.0.3\n", "Werkzeug 2.3.0\n", "wheel 0.40.0\n", "widgetsnbextension 3.6.4\n", "wordcloud 1.8.2.2\n", "wrapt 1.14.1\n", "xarray 2022.12.0\n", "xarray-einstats 0.5.1\n", "xgboost 1.7.5\n", "xlrd 2.0.1\n", "yarl 1.9.2\n", "yellowbrick 1.5\n", "yfinance 0.2.18\n", "yt-dlp 2023.3.4\n", "zict 3.0.0\n", "zipp 3.15.0\n" ] } ] } ] }