diff --git a/AICoverGen_colab.ipynb b/AICoverGen_colab.ipynb new file mode 100644 index 0000000..fc79429 --- /dev/null +++ b/AICoverGen_colab.ipynb @@ -0,0 +1,587 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": { + "id": "39k2mOCNAh6J" + }, + "source": [ + "[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/SociallyIneptWeeb/AICoverGen/blob/main/AICoverGen_colab.ipynb)" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# AICoverGen WebUI\n", + "\n", + "Simply click `Runtime` in the top navigation bar and `Run all`. Wait for the output of the final cell to show the public gradio url and click on it." + ], + "metadata": { + "id": "YYVAKuNBc-X4" + } + }, + { + "cell_type": "code", + "source": [ + "!sudo apt update\n", + "!sudo apt install python3.8\n", + "!sudo apt install python3-pip\n", + "!sudo apt install python3.8-distutils\n", + "!sudo apt install python3.8-dev\n", + "!update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1\n", + "!update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1\n", + "\n", + "# Set it as default\n", + "!update-alternatives --set python3 /usr/bin/python3.8\n", + "!update-alternatives --set python /usr/bin/python3.8\n", + "\n", + "# Verify\n", + "!python --version\n", + "!python3 --version" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "dv-DKVUhaYdQ", + "outputId": "553759ee-6d2f-4f1b-b7cb-8802caf35a53" + }, + "execution_count": 2, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "\u001b[33m\r0% [Working]\u001b[0m\r \rHit:1 https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease\n", + "Hit:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease\n", + "Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease\n", + "Hit:4 http://archive.ubuntu.com/ubuntu jammy InRelease\n", + "Hit:5 https://r2u.stat.illinois.edu/ubuntu jammy InRelease\n", + "Hit:6 http://archive.ubuntu.com/ubuntu jammy-updates InRelease\n", + "Hit:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease\n", + "Hit:8 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease\n", + "Hit:9 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease\n", + "Hit:10 https://ppa.launchpadcontent.net/ubuntugis/ppa/ubuntu jammy InRelease\n", + "Reading package lists... Done\n", + "Building dependency tree... Done\n", + "Reading state information... Done\n", + "47 packages can be upgraded. Run 'apt list --upgradable' to see them.\n", + "\u001b[1;33mW: \u001b[0mSkipping acquire of configured file 'main/source/Sources' as repository 'https://r2u.stat.illinois.edu/ubuntu jammy InRelease' does not seem to provide it (sources.list entry misspelt?)\u001b[0m\n", + "Reading package lists... Done\n", + "Building dependency tree... Done\n", + "Reading state information... Done\n", + "python3.8 is already the newest version (3.8.20-1+jammy1).\n", + "0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.\n", + "Reading package lists... Done\n", + "Building dependency tree... Done\n", + "Reading state information... Done\n", + "The following additional packages will be installed:\n", + " python3-setuptools python3-wheel\n", + "Suggested packages:\n", + " python-setuptools-doc\n", + "The following NEW packages will be installed:\n", + " python3-pip python3-setuptools python3-wheel\n", + "0 upgraded, 3 newly installed, 0 to remove and 47 not upgraded.\n", + "Need to get 1,677 kB of archives.\n", + "After this operation, 8,968 kB of additional disk space will be used.\n", + "Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-setuptools all 59.6.0-1.2ubuntu0.22.04.2 [340 kB]\n", + "Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 python3-wheel all 0.37.1-2ubuntu0.22.04.1 [32.0 kB]\n", + "Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 python3-pip all 22.0.2+dfsg-1ubuntu0.5 [1,306 kB]\n", + "Fetched 1,677 kB in 1s (2,249 kB/s)\n", + "debconf: unable to initialize frontend: Dialog\n", + "debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78, <> line 3.)\n", + "debconf: falling back to frontend: Readline\n", + "debconf: unable to initialize frontend: Readline\n", + "debconf: (This frontend requires a controlling tty.)\n", + "debconf: falling back to frontend: Teletype\n", + "dpkg-preconfigure: unable to re-open stdin: \n", + "Selecting previously unselected package python3-setuptools.\n", + "(Reading database ... 126839 files and directories currently installed.)\n", + "Preparing to unpack .../python3-setuptools_59.6.0-1.2ubuntu0.22.04.2_all.deb ...\n", + "Unpacking python3-setuptools (59.6.0-1.2ubuntu0.22.04.2) ...\n", + "Selecting previously unselected package python3-wheel.\n", + "Preparing to unpack .../python3-wheel_0.37.1-2ubuntu0.22.04.1_all.deb ...\n", + "Unpacking python3-wheel (0.37.1-2ubuntu0.22.04.1) ...\n", + "Selecting previously unselected package python3-pip.\n", + "Preparing to unpack .../python3-pip_22.0.2+dfsg-1ubuntu0.5_all.deb ...\n", + "Unpacking python3-pip (22.0.2+dfsg-1ubuntu0.5) ...\n", + "Setting up python3-setuptools (59.6.0-1.2ubuntu0.22.04.2) ...\n", + "Setting up python3-wheel (0.37.1-2ubuntu0.22.04.1) ...\n", + "Setting up python3-pip (22.0.2+dfsg-1ubuntu0.5) ...\n", + "Processing triggers for man-db (2.10.2-1) ...\n", + "Reading package lists... Done\n", + "Building dependency tree... Done\n", + "Reading state information... Done\n", + "The following additional packages will be installed:\n", + " python3.8-lib2to3\n", + "The following NEW packages will be installed:\n", + " python3.8-distutils python3.8-lib2to3\n", + "0 upgraded, 2 newly installed, 0 to remove and 47 not upgraded.\n", + "Need to get 319 kB of archives.\n", + "After this operation, 1,237 kB of additional disk space will be used.\n", + "Get:1 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main amd64 python3.8-lib2to3 all 3.8.20-1+jammy1 [126 kB]\n", + "Get:2 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main amd64 python3.8-distutils all 3.8.20-1+jammy1 [193 kB]\n", + "Fetched 319 kB in 2s (199 kB/s)\n", + "debconf: unable to initialize frontend: Dialog\n", + "debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78, <> line 2.)\n", + "debconf: falling back to frontend: Readline\n", + "debconf: unable to initialize frontend: Readline\n", + "debconf: (This frontend requires a controlling tty.)\n", + "debconf: falling back to frontend: Teletype\n", + "dpkg-preconfigure: unable to re-open stdin: \n", + "Selecting previously unselected package python3.8-lib2to3.\n", + "(Reading database ... 127701 files and directories currently installed.)\n", + "Preparing to unpack .../python3.8-lib2to3_3.8.20-1+jammy1_all.deb ...\n", + "Unpacking python3.8-lib2to3 (3.8.20-1+jammy1) ...\n", + "Selecting previously unselected package python3.8-distutils.\n", + "Preparing to unpack .../python3.8-distutils_3.8.20-1+jammy1_all.deb ...\n", + "Unpacking python3.8-distutils (3.8.20-1+jammy1) ...\n", + "Setting up python3.8-lib2to3 (3.8.20-1+jammy1) ...\n", + "Setting up python3.8-distutils (3.8.20-1+jammy1) ...\n", + "Reading package lists... Done\n", + "Building dependency tree... Done\n", + "Reading state information... Done\n", + "The following additional packages will be installed:\n", + " libpython3.8 libpython3.8-dev\n", + "The following NEW packages will be installed:\n", + " libpython3.8 libpython3.8-dev python3.8-dev\n", + "0 upgraded, 3 newly installed, 0 to remove and 47 not upgraded.\n", + "Need to get 6,687 kB of archives.\n", + "After this operation, 25.0 MB of additional disk space will be used.\n", + "Get:1 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main amd64 libpython3.8 amd64 3.8.20-1+jammy1 [1,798 kB]\n", + "Get:2 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main amd64 libpython3.8-dev amd64 3.8.20-1+jammy1 [4,389 kB]\n", + "Get:3 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main amd64 python3.8-dev amd64 3.8.20-1+jammy1 [500 kB]\n", + "Fetched 6,687 kB in 16s (424 kB/s)\n", + "debconf: unable to initialize frontend: Dialog\n", + "debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78, <> line 3.)\n", + "debconf: falling back to frontend: Readline\n", + "debconf: unable to initialize frontend: Readline\n", + "debconf: (This frontend requires a controlling tty.)\n", + "debconf: falling back to frontend: Teletype\n", + "dpkg-preconfigure: unable to re-open stdin: \n", + "Selecting previously unselected package libpython3.8:amd64.\n", + "(Reading database ... 127840 files and directories currently installed.)\n", + "Preparing to unpack .../libpython3.8_3.8.20-1+jammy1_amd64.deb ...\n", + "Unpacking libpython3.8:amd64 (3.8.20-1+jammy1) ...\n", + "Selecting previously unselected package libpython3.8-dev:amd64.\n", + "Preparing to unpack .../libpython3.8-dev_3.8.20-1+jammy1_amd64.deb ...\n", + "Unpacking libpython3.8-dev:amd64 (3.8.20-1+jammy1) ...\n", + "Selecting previously unselected package python3.8-dev.\n", + "Preparing to unpack .../python3.8-dev_3.8.20-1+jammy1_amd64.deb ...\n", + "Unpacking python3.8-dev (3.8.20-1+jammy1) ...\n", + "Setting up libpython3.8:amd64 (3.8.20-1+jammy1) ...\n", + "Setting up libpython3.8-dev:amd64 (3.8.20-1+jammy1) ...\n", + "Setting up python3.8-dev (3.8.20-1+jammy1) ...\n", + "Processing triggers for man-db (2.10.2-1) ...\n", + "Python 3.8.20\n", + "Python 3.8.20\n" + ] + } + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": { + "id": "vC4gLMHI9xb3", + "colab": { + "base_uri": "https://localhost:8080/" + }, + "outputId": "295c2acb-c7c2-4446-e814-a650712f10ab" + }, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Done Cloning Repository\n" + ] + } + ], + "source": [ + "#@title Clone repository\n", + "from IPython.display import clear_output, Javascript\n", + "import codecs\n", + "import threading\n", + "import time\n", + "cloneing=codecs.decode('uggcf://tvguho.pbz/FbpvnyylVarcgJrro/NVPbireTra.tvg','rot_13')\n", + "!git clone $cloneing HRVC\n", + "def update_timer_and_print():\n", + " global timer\n", + " while True:\n", + " hours, remainder = divmod(timer, 3600)\n", + " minutes, seconds = divmod(remainder, 60)\n", + " timer_str = f'{hours:02}:{minutes:02}:{seconds:02}'\n", + " print(f'\\rTimer: {timer_str}', end='', flush=True) # Print without a newline\n", + " time.sleep(1)\n", + " timer += 1\n", + "timer = 0\n", + "threading.Thread(target=update_timer_and_print, daemon=True).start()\n", + "%cd HRVC\n", + "clear_output()\n", + "print(\"Done Cloning Repository\")" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "metadata": { + "id": "odzpJHpr_PaF", + "colab": { + "base_uri": "https://localhost:8080/", + "height": 1000 + }, + "outputId": "8e2374d2-c3f0-4cfd-989c-14d23fc8f863" + }, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Timer: 00:00:06Collecting pip==23.3.1\n", + " Downloading pip-23.3.1-py3-none-any.whl (2.1 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.1/2.1 MB\u001b[0m \u001b[31m11.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "Timer: 00:00:07Installing collected packages: pip\n", + " Attempting uninstall: pip\n", + " Found existing installation: pip 22.0.2\n", + " Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr\n", + " Can't uninstall 'pip'. No files were found to uninstall.\n", + "Timer: 00:00:08Successfully installed pip-23.3.1\n", + "\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n", + "\u001b[0mLooking in links: https://download.pytorch.org/whl/torch_stable.html\n", + "Timer: 00:00:10Collecting deemix (from -r requirements.txt (line 1))\n", + "Timer: 00:00:11 Downloading deemix-3.6.6-py3-none-any.whl.metadata (2.2 kB)\n", + "Timer: 00:00:12Collecting fairseq==0.12.2 (from -r requirements.txt (line 2))\n", + " Downloading fairseq-0.12.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl.metadata (18 kB)\n", + "Timer: 00:00:14Collecting faiss-cpu==1.7.3 (from -r requirements.txt (line 3))\n", + " Downloading faiss_cpu-1.7.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.3 kB)\n", + "Timer: 00:00:15Collecting 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", + "Timer: 00:00:17Collecting gradio==3.39.0 (from -r requirements.txt (line 5))\n", + " Downloading gradio-3.39.0-py3-none-any.whl.metadata (17 kB)\n", + "Timer: 00:00:18Collecting lib==4.0.0 (from -r requirements.txt (line 6))\n", + " Downloading lib-4.0.0-py3-none-any.whl.metadata (419 bytes)\n", + "Timer: 00:00:20Collecting librosa==0.9.1 (from -r requirements.txt (line 7))\n", + " Downloading librosa-0.9.1-py3-none-any.whl.metadata (6.9 kB)\n", + "Timer: 00:00:22Collecting numpy==1.23.5 (from -r requirements.txt (line 8))\n", + " Downloading numpy-1.23.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.3 kB)\n", + "Timer: 00:00:23Collecting onnxruntime_gpu (from -r requirements.txt (line 9))\n", + " Downloading onnxruntime_gpu-1.19.2-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (4.5 kB)\n", + "Timer: 00:00:25Collecting praat-parselmouth>=0.4.2 (from -r requirements.txt (line 10))\n", + " Downloading praat_parselmouth-0.4.5-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (2.9 kB)\n", + "Timer: 00:00:27Collecting pedalboard==0.7.7 (from -r requirements.txt (line 11))\n", + " Downloading pedalboard-0.7.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (15 kB)\n", + "Timer: 00:00:28Collecting pydub==0.25.1 (from -r requirements.txt (line 12))\n", + " Downloading pydub-0.25.1-py2.py3-none-any.whl.metadata (1.4 kB)\n", + "Timer: 00:00:30Collecting pyworld==0.3.4 (from -r requirements.txt (line 13))\n", + " Downloading pyworld-0.3.4.tar.gz (251 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m252.0/252.0 kB\u001b[0m \u001b[31m11.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "Timer: 00:00:44 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", + "Timer: 00:00:46Collecting Requests==2.31.0 (from -r requirements.txt (line 14))\n", + " Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)\n", + "Timer: 00:00:48\u001b[31mERROR: Ignored the following versions that require a different python version: 1.10.0 Requires-Python >=3.9; 1.11.0 Requires-Python <3.13,>=3.9; 1.11.0rc1 Requires-Python <3.13,>=3.9; 1.11.0rc2 Requires-Python <3.13,>=3.9; 1.11.1 Requires-Python <3.13,>=3.9; 1.11.2 Requires-Python <3.13,>=3.9; 1.11.3 Requires-Python <3.13,>=3.9; 1.11.4 Requires-Python >=3.9; 1.12.0 Requires-Python >=3.9; 1.12.0rc1 Requires-Python >=3.9; 1.12.0rc2 Requires-Python >=3.9; 1.13.0 Requires-Python >=3.9; 1.13.0rc1 Requires-Python >=3.9; 1.13.1 Requires-Python >=3.9; 1.14.0 Requires-Python >=3.10; 1.14.0rc1 Requires-Python >=3.10; 1.14.0rc2 Requires-Python >=3.10; 1.14.1 Requires-Python >=3.10; 1.15.0 Requires-Python >=3.10; 1.15.0rc1 Requires-Python >=3.10; 1.15.0rc2 Requires-Python >=3.10; 1.15.1 Requires-Python >=3.10; 1.15.2 Requires-Python >=3.10; 1.25.0 Requires-Python >=3.9; 1.25.1 Requires-Python >=3.9; 1.25.2 Requires-Python >=3.9; 1.26.0 Requires-Python <3.13,>=3.9; 1.26.1 Requires-Python <3.13,>=3.9; 1.26.2 Requires-Python >=3.9; 1.26.3 Requires-Python >=3.9; 1.26.4 Requires-Python >=3.9; 1.9.0 Requires-Python >=3.9; 1.9.0.post1 Requires-Python >=3.9; 2.0.0 Requires-Python >=3.9; 2.0.1 Requires-Python >=3.9; 2.0.2 Requires-Python >=3.9; 2.1.0 Requires-Python >=3.10; 2.1.0rc1 Requires-Python >=3.10; 2.1.1 Requires-Python >=3.10; 2.1.2 Requires-Python >=3.10; 2.1.3 Requires-Python >=3.10; 2.2.0 Requires-Python >=3.10; 2.2.0rc1 Requires-Python >=3.10; 2.2.1 Requires-Python >=3.10; 2.2.2 Requires-Python >=3.10; 2.2.3 Requires-Python >=3.10; 2.2.4 Requires-Python >=3.10; 5.0.0 Requires-Python >=3.10; 5.0.0b1 Requires-Python >=3.10; 5.0.0b10 Requires-Python >=3.10; 5.0.0b5 Requires-Python >=3.10; 5.0.0b6 Requires-Python >=3.10; 5.0.0b7 Requires-Python >=3.10; 5.0.0b8 Requires-Python >=3.10; 5.0.0b9 Requires-Python >=3.10; 5.0.1 Requires-Python >=3.10; 5.0.2 Requires-Python >=3.10; 5.1.0 Requires-Python >=3.10; 5.10.0 Requires-Python >=3.10; 5.11.0 Requires-Python >=3.10; 5.12.0 Requires-Python >=3.10; 5.13.0 Requires-Python >=3.10; 5.13.1 Requires-Python >=3.10; 5.13.2 Requires-Python >=3.10; 5.14.0 Requires-Python >=3.10; 5.15.0 Requires-Python >=3.10; 5.16.0 Requires-Python >=3.10; 5.16.1 Requires-Python >=3.10; 5.16.2 Requires-Python >=3.10; 5.17.0 Requires-Python >=3.10; 5.17.1 Requires-Python >=3.10; 5.18.0 Requires-Python >=3.10; 5.19.0 Requires-Python >=3.10; 5.20.0 Requires-Python >=3.10; 5.20.1 Requires-Python >=3.10; 5.21.0 Requires-Python >=3.10; 5.22.0 Requires-Python >=3.10; 5.23.0 Requires-Python >=3.10; 5.23.1 Requires-Python >=3.10; 5.23.2 Requires-Python >=3.10; 5.23.3 Requires-Python >=3.10; 5.24.0 Requires-Python >=3.10; 5.3.0 Requires-Python >=3.10; 5.4.0 Requires-Python >=3.10; 5.5.0 Requires-Python >=3.10; 5.6.0 Requires-Python >=3.10; 5.7.0 Requires-Python >=3.10; 5.7.1 Requires-Python >=3.10; 5.8.0 Requires-Python >=3.10; 5.9.0 Requires-Python >=3.10; 5.9.1 Requires-Python >=3.10\u001b[0m\u001b[31m\n", + "\u001b[0m\u001b[31mERROR: Could not find a version that satisfies the requirement scipy==1.11.1 (from versions: 0.8.0, 0.9.0, 0.10.0, 0.10.1, 0.11.0, 0.12.0, 0.12.1, 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.14.0, 0.14.1, 0.15.0, 0.15.1, 0.16.0, 0.16.1, 0.17.0, 0.17.1, 0.18.0, 0.18.1, 0.19.0, 0.19.1, 1.0.0, 1.0.1, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.8.0rc1, 1.8.0rc2, 1.8.0rc3, 1.8.0rc4, 1.8.0, 1.8.1, 1.9.0rc1, 1.9.0rc2, 1.9.0rc3, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0rc1, 1.10.0rc2, 1.10.0, 1.10.1)\u001b[0m\u001b[31m\n", + "\u001b[0m\u001b[31mERROR: No matching distribution found for scipy==1.11.1\u001b[0m\u001b[31m\n", + "Timer: 00:00:49Collecting gradio-client==0.8.1\n", + " Downloading gradio_client-0.8.1-py3-none-any.whl.metadata (7.1 kB)\n", + "Collecting fsspec (from gradio-client==0.8.1)\n", + " Downloading fsspec-2025.3.0-py3-none-any.whl.metadata (11 kB)\n", + "Collecting httpx (from gradio-client==0.8.1)\n", + " Downloading httpx-0.28.1-py3-none-any.whl.metadata (7.1 kB)\n", + "Timer: 00:00:50Collecting huggingface-hub>=0.19.3 (from gradio-client==0.8.1)\n", + " Downloading huggingface_hub-0.30.2-py3-none-any.whl.metadata (13 kB)\n", + "Collecting packaging (from gradio-client==0.8.1)\n", + " Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB)\n", + "Collecting typing-extensions~=4.0 (from gradio-client==0.8.1)\n", + " Downloading typing_extensions-4.13.1-py3-none-any.whl.metadata (3.0 kB)\n", + "Collecting websockets<12.0,>=10.0 (from gradio-client==0.8.1)\n", + " Downloading websockets-11.0.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.6 kB)\n", + "Collecting filelock (from huggingface-hub>=0.19.3->gradio-client==0.8.1)\n", + " Downloading filelock-3.16.1-py3-none-any.whl.metadata (2.9 kB)\n", + "Collecting pyyaml>=5.1 (from huggingface-hub>=0.19.3->gradio-client==0.8.1)\n", + " Downloading PyYAML-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)\n", + "Timer: 00:00:51Collecting requests (from huggingface-hub>=0.19.3->gradio-client==0.8.1)\n", + " Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)\n", + "Collecting tqdm>=4.42.1 (from huggingface-hub>=0.19.3->gradio-client==0.8.1)\n", + " Downloading tqdm-4.67.1-py3-none-any.whl.metadata (57 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m57.7/57.7 kB\u001b[0m \u001b[31m3.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting anyio (from httpx->gradio-client==0.8.1)\n", + " Downloading anyio-4.5.2-py3-none-any.whl.metadata (4.7 kB)\n", + "Collecting certifi (from httpx->gradio-client==0.8.1)\n", + " Downloading certifi-2025.1.31-py3-none-any.whl.metadata (2.5 kB)\n", + "Collecting httpcore==1.* (from httpx->gradio-client==0.8.1)\n", + " Downloading httpcore-1.0.7-py3-none-any.whl.metadata (21 kB)\n", + "Collecting idna (from httpx->gradio-client==0.8.1)\n", + " Downloading idna-3.10-py3-none-any.whl.metadata (10 kB)\n", + "Collecting h11<0.15,>=0.13 (from httpcore==1.*->httpx->gradio-client==0.8.1)\n", + " Downloading h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)\n", + "Timer: 00:00:52Collecting sniffio>=1.1 (from anyio->httpx->gradio-client==0.8.1)\n", + " Downloading sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)\n", + "Collecting exceptiongroup>=1.0.2 (from anyio->httpx->gradio-client==0.8.1)\n", + " Downloading exceptiongroup-1.2.2-py3-none-any.whl.metadata (6.6 kB)\n", + "Collecting charset-normalizer<4,>=2 (from requests->huggingface-hub>=0.19.3->gradio-client==0.8.1)\n", + " Downloading charset_normalizer-3.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (35 kB)\n", + "Collecting urllib3<3,>=1.21.1 (from requests->huggingface-hub>=0.19.3->gradio-client==0.8.1)\n", + " Downloading urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB)\n", + "Downloading 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[31m15.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading huggingface_hub-0.30.2-py3-none-any.whl (481 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m481.4/481.4 kB\u001b[0m \u001b[31m30.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading fsspec-2025.3.0-py3-none-any.whl (193 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m193.6/193.6 kB\u001b[0m \u001b[31m19.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading packaging-24.2-py3-none-any.whl (65 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m65.5/65.5 kB\u001b[0m \u001b[31m6.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading typing_extensions-4.13.1-py3-none-any.whl (45 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m45.7/45.7 kB\u001b[0m \u001b[31m4.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading websockets-11.0.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (130 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m130.2/130.2 kB\u001b[0m \u001b[31m12.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading httpx-0.28.1-py3-none-any.whl (73 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m73.5/73.5 kB\u001b[0m \u001b[31m5.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading httpcore-1.0.7-py3-none-any.whl (78 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m78.6/78.6 kB\u001b[0m \u001b[31m7.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading PyYAML-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (746 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m746.5/746.5 kB\u001b[0m \u001b[31m46.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading tqdm-4.67.1-py3-none-any.whl (78 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m78.5/78.5 kB\u001b[0m \u001b[31m8.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading anyio-4.5.2-py3-none-any.whl (89 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m89.8/89.8 kB\u001b[0m \u001b[31m9.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading idna-3.10-py3-none-any.whl (70 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m70.4/70.4 kB\u001b[0m \u001b[31m6.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading certifi-2025.1.31-py3-none-any.whl (166 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m166.4/166.4 kB\u001b[0m \u001b[31m15.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading filelock-3.16.1-py3-none-any.whl (16 kB)\n", + "Downloading requests-2.32.3-py3-none-any.whl (64 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m64.9/64.9 kB\u001b[0m \u001b[31m6.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading charset_normalizer-3.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (144 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m144.7/144.7 kB\u001b[0m \u001b[31m13.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading exceptiongroup-1.2.2-py3-none-any.whl (16 kB)\n", + "Downloading 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.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hDownloading sniffio-1.3.1-py3-none-any.whl (10 kB)\n", + "Downloading urllib3-2.2.3-py3-none-any.whl (126 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m126.3/126.3 kB\u001b[0m \u001b[31m12.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hInstalling collected packages: websockets, urllib3, typing-extensions, tqdm, sniffio, pyyaml, packaging, idna, h11, fsspec, filelock, exceptiongroup, charset-normalizer, certifi, requests, httpcore, anyio, huggingface-hub, httpx, gradio-client\n", + "Timer: 00:00:55Successfully installed anyio-4.5.2 certifi-2025.1.31 charset-normalizer-3.4.1 exceptiongroup-1.2.2 filelock-3.16.1 fsspec-2025.3.0 gradio-client-0.8.1 h11-0.14.0 httpcore-1.0.7 httpx-0.28.1 huggingface-hub-0.30.2 idna-3.10 packaging-24.2 pyyaml-6.0.2 requests-2.32.3 sniffio-1.3.1 tqdm-4.67.1 typing-extensions-4.13.1 urllib3-2.2.3 websockets-11.0.3\n" + ] + }, + { + "output_type": "display_data", + "data": { + "application/vnd.colab-display-data+json": { + "pip_warning": { + "packages": [ + "certifi" + ] + }, + "id": "e6a801decb334e308af751b523e2d1a4" + } + }, + "metadata": {} + }, + { + "output_type": "stream", + "name": "stdout", + "text": [ + "\rTimer: 00:00:56Collecting gradio==3.48.0\n", + " Downloading gradio-3.48.0-py3-none-any.whl.metadata (17 kB)\n", + "Collecting aiofiles<24.0,>=22.0 (from gradio==3.48.0)\n", + " Downloading aiofiles-23.2.1-py3-none-any.whl.metadata (9.7 kB)\n", + "Collecting altair<6.0,>=4.2.0 (from gradio==3.48.0)\n", + " Downloading altair-5.4.1-py3-none-any.whl.metadata (9.4 kB)\n", + "Collecting fastapi (from gradio==3.48.0)\n", + " Downloading fastapi-0.115.12-py3-none-any.whl.metadata (27 kB)\n", + "Collecting ffmpy (from gradio==3.48.0)\n", + " Downloading ffmpy-0.5.0-py3-none-any.whl.metadata (3.0 kB)\n", + "Collecting gradio-client==0.6.1 (from gradio==3.48.0)\n", + " Downloading gradio_client-0.6.1-py3-none-any.whl.metadata (7.1 kB)\n", + "Requirement already satisfied: httpx in /usr/local/lib/python3.8/dist-packages (from gradio==3.48.0) (0.28.1)\n", + "Requirement already satisfied: huggingface-hub>=0.14.0 in /usr/local/lib/python3.8/dist-packages (from gradio==3.48.0) (0.30.2)\n", + "Collecting importlib-resources<7.0,>=1.3 (from gradio==3.48.0)\n", + " Downloading importlib_resources-6.4.5-py3-none-any.whl.metadata (4.0 kB)\n", + "Collecting jinja2<4.0 (from gradio==3.48.0)\n", + " Downloading jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB)\n", + "Timer: 00:00:57Requirement already satisfied: markupsafe~=2.0 in /usr/lib/python3/dist-packages (from gradio==3.48.0) (2.0.1)\n", + "Collecting matplotlib~=3.0 (from gradio==3.48.0)\n", + " Downloading matplotlib-3.7.5-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (5.7 kB)\n", + "Timer: 00:00:58Collecting numpy~=1.0 (from gradio==3.48.0)\n", + " Using cached numpy-1.24.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.6 kB)\n", + "Timer: 00:00:59Collecting orjson~=3.0 (from gradio==3.48.0)\n", + " Downloading orjson-3.10.15-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (41 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m41.8/41.8 kB\u001b[0m \u001b[31m3.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: packaging in /usr/local/lib/python3.8/dist-packages (from gradio==3.48.0) (24.2)\n", + "Timer: 00:01:00Collecting pandas<3.0,>=1.0 (from gradio==3.48.0)\n", + " Downloading pandas-2.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (18 kB)\n", + "Collecting pillow<11.0,>=8.0 (from gradio==3.48.0)\n", + " Downloading pillow-10.4.0-cp38-cp38-manylinux_2_28_x86_64.whl.metadata (9.2 kB)\n", + "Timer: 00:01:01Collecting pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,<3.0.0,>=1.7.4 (from gradio==3.48.0)\n", + " Downloading pydantic-2.10.6-py3-none-any.whl.metadata (30 kB)\n", + "Collecting pydub (from gradio==3.48.0)\n", + " Using cached pydub-0.25.1-py2.py3-none-any.whl.metadata (1.4 kB)\n", + "Collecting python-multipart (from gradio==3.48.0)\n", + " Downloading python_multipart-0.0.20-py3-none-any.whl.metadata (1.8 kB)\n", + "Requirement already satisfied: pyyaml<7.0,>=5.0 in /usr/local/lib/python3.8/dist-packages (from gradio==3.48.0) (6.0.2)\n", + "Requirement already satisfied: requests~=2.0 in /usr/local/lib/python3.8/dist-packages (from gradio==3.48.0) (2.32.3)\n", + "Collecting semantic-version~=2.0 (from gradio==3.48.0)\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.8/dist-packages (from gradio==3.48.0) (4.13.1)\n", + "Collecting uvicorn>=0.14.0 (from gradio==3.48.0)\n", + " Downloading uvicorn-0.33.0-py3-none-any.whl.metadata (6.6 kB)\n", + "Requirement already satisfied: websockets<12.0,>=10.0 in /usr/local/lib/python3.8/dist-packages (from gradio==3.48.0) (11.0.3)\n", + "Requirement already satisfied: fsspec in /usr/local/lib/python3.8/dist-packages (from gradio-client==0.6.1->gradio==3.48.0) (2025.3.0)\n", + "Collecting jsonschema>=3.0 (from altair<6.0,>=4.2.0->gradio==3.48.0)\n", + " Downloading jsonschema-4.23.0-py3-none-any.whl.metadata (7.9 kB)\n", + "Timer: 00:01:02Collecting narwhals>=1.5.2 (from altair<6.0,>=4.2.0->gradio==3.48.0)\n", + " Downloading narwhals-1.34.1-py3-none-any.whl.metadata (9.2 kB)\n", + "Requirement already satisfied: filelock in /usr/local/lib/python3.8/dist-packages (from huggingface-hub>=0.14.0->gradio==3.48.0) (3.16.1)\n", + "Requirement already satisfied: tqdm>=4.42.1 in /usr/local/lib/python3.8/dist-packages (from huggingface-hub>=0.14.0->gradio==3.48.0) (4.67.1)\n", + "Collecting zipp>=3.1.0 (from importlib-resources<7.0,>=1.3->gradio==3.48.0)\n", + " Downloading zipp-3.20.2-py3-none-any.whl.metadata (3.7 kB)\n", + "Collecting contourpy>=1.0.1 (from matplotlib~=3.0->gradio==3.48.0)\n", + " Downloading contourpy-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.9 kB)\n", + "Collecting cycler>=0.10 (from matplotlib~=3.0->gradio==3.48.0)\n", + " Downloading cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)\n", + "Timer: 00:01:03Collecting fonttools>=4.22.0 (from matplotlib~=3.0->gradio==3.48.0)\n", + " Downloading fonttools-4.57.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (102 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m102.3/102.3 kB\u001b[0m \u001b[31m7.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting kiwisolver>=1.0.1 (from matplotlib~=3.0->gradio==3.48.0)\n", + " Downloading kiwisolver-1.4.7-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl.metadata (6.3 kB)\n", + "Requirement already satisfied: pyparsing>=2.3.1 in /usr/lib/python3/dist-packages (from matplotlib~=3.0->gradio==3.48.0) (2.4.7)\n", + "Collecting python-dateutil>=2.7 (from matplotlib~=3.0->gradio==3.48.0)\n", + " Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)\n", + "Timer: 00:01:04Collecting pytz>=2020.1 (from pandas<3.0,>=1.0->gradio==3.48.0)\n", + " Downloading pytz-2025.2-py2.py3-none-any.whl.metadata (22 kB)\n", + "Collecting tzdata>=2022.1 (from pandas<3.0,>=1.0->gradio==3.48.0)\n", + " Downloading tzdata-2025.2-py2.py3-none-any.whl.metadata (1.4 kB)\n", + "Collecting annotated-types>=0.6.0 (from pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,<3.0.0,>=1.7.4->gradio==3.48.0)\n", + " Downloading annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB)\n", + "^C\n", + "^C\n", + "Finished Installing Requirements\n", + "/content/HRVC\n", + "Finished Updating\n", + "^C\n", + "Finished running this cell, proceed to the next cell\n" + ] + } + ], + "source": [ + "#@title Install requirements\n", + "\n", + "\n", + "!pip install pip==23.3.1\n", + "!pip install -r requirements.txt\n", + "!pip install gradio-client==0.8.1\n", + "!pip install gradio==3.48.0\n", + "# install cuda fix\n", + "!pip install ort-nightly-gpu --index-url=https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ort-cuda-12-nightly/pypi/simple/\n", + "# clear_output()\n", + "print(\"Finished Installing Requirements\")\n", + "!pwd\n", + "# clear_output()\n", + "print(\"Finished Updating\")\n", + "!sudo apt install sox\n", + "# clear_output()\n", + "print(\"Finished running this cell, proceed to the next cell\")" + ] + }, + { + "cell_type": "code", + "execution_count": 24, + "metadata": { + "id": "SLWpcJc0AHSZ", + "colab": { + "base_uri": "https://localhost:8080/" + }, + "outputId": "3252cafe-7d96-4944-8a02-2cf6b06f0b58" + }, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Finished Downloading Voice Separation Model and Hubert Base Model\n" + ] + } + ], + "source": [ + "#@title Download MDXNet Vocal Separation and Hubert Base Models\n", + "models=codecs.decode('fep/qbjaybnq_zbqryf.cl','rot_13')\n", + "!python $models\n", + "clear_output()\n", + "print(\"Finished Downloading Voice Separation Model and Hubert Base Model\")" + ] + }, + { + "cell_type": "code", + "source": [ + "#@title Run WebUI\n", + "runpice=codecs.decode('fep/jrohv.cl','rot_13')\n", + "!python $runpice --share" + ], + "metadata": { + "id": "NEglTq6Ya9d0", + "colab": { + "base_uri": "https://localhost:8080/" + }, + "outputId": "4a4f165d-851a-42e5-e59d-f8f699b21ebc" + }, + "execution_count": 4, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Timer: 00:08:02Traceback (most recent call last):\n", + " File \"/content/HRVC/src/webui.py\", line 10, in \n", + " from main import song_cover_pipeline\n", + " File \"/content/HRVC/src/main.py\", line 22, in \n", + " from rvc import Config, load_hubert, get_vc, rvc_infer\n", + " File \"/content/HRVC/src/rvc.py\", line 5, in \n", + " from fairseq import checkpoint_utils\n", + " File \"/usr/local/lib/python3.11/dist-packages/fairseq/__init__.py\", line 20, in \n", + " from fairseq.distributed import utils as distributed_utils\n", + " File \"/usr/local/lib/python3.11/dist-packages/fairseq/distributed/__init__.py\", line 7, in \n", + " from .fully_sharded_data_parallel import (\n", + " File \"/usr/local/lib/python3.11/dist-packages/fairseq/distributed/fully_sharded_data_parallel.py\", line 10, in \n", + " from fairseq.dataclass.configs import DistributedTrainingConfig\n", + " File \"/usr/local/lib/python3.11/dist-packages/fairseq/dataclass/__init__.py\", line 6, in \n", + " from .configs import FairseqDataclass\n", + " File \"/usr/local/lib/python3.11/dist-packages/fairseq/dataclass/configs.py\", line 1104, in \n", + " @dataclass\n", + " ^^^^^^^^^\n", + " File \"/usr/lib/python3.11/dataclasses.py\", line 1232, in dataclass\n", + " return wrap(cls)\n", + " ^^^^^^^^^\n", + " File \"/usr/lib/python3.11/dataclasses.py\", line 1222, in wrap\n", + " return _process_class(cls, init, repr, eq, order, unsafe_hash,\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"/usr/lib/python3.11/dataclasses.py\", line 958, in _process_class\n", + " cls_fields.append(_get_field(cls, name, type, kw_only))\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"/usr/lib/python3.11/dataclasses.py\", line 815, in _get_field\n", + " raise ValueError(f'mutable default {type(f.default)} for field '\n", + "ValueError: mutable default for field common is not allowed: use default_factory\n", + "Timer: 00:08:04" + ] + } + ] + } + ], + "metadata": { + "accelerator": "GPU", + "colab": { + "provenance": [] + }, + "kernelspec": { + "display_name": "Python 3", + "name": "python3" + }, + "language_info": { + "name": "python" + } + }, + "nbformat": 4, + "nbformat_minor": 0 +} \ No newline at end of file diff --git a/src/lib/components/Datepicker.svelte b/src/lib/components/Datepicker.svelte index 35b03aa..f438f4a 100644 --- a/src/lib/components/Datepicker.svelte +++ b/src/lib/components/Datepicker.svelte @@ -9,6 +9,9 @@ import Calendar from '$lib/components/calendar/Calendar.svelte'; import { fade } from 'svelte/transition'; import { calendar as calendarDefaults } from '$lib/config/defaults'; + import {createEventDispatcher} from 'svelte'; + + let dispatch = createEventDispatcher(); export let selected = calendarDefaults.selected; export let start = calendarDefaults.start; @@ -34,6 +37,9 @@ $: selected = $store.selected; $: formatted = dayjs(selected).format(format); + const dayClick = () =>{ + dispatch('dayClicked',store); + } @@ -45,7 +51,7 @@ - + diff --git a/src/lib/components/InlineCalendar.svelte b/src/lib/components/InlineCalendar.svelte index 5c81982..0b0ccc2 100644 --- a/src/lib/components/InlineCalendar.svelte +++ b/src/lib/components/InlineCalendar.svelte @@ -8,7 +8,9 @@ import Calendar from '$lib/components/calendar/Calendar.svelte'; import CrossfadeBoundary from './generic/crossfade/CrossfadeBoundary.svelte'; import { calendar as calendarDefaults } from '$lib/config/defaults'; + import {createEventDispatcher} from 'svelte'; + let dispatch = createEventDispatcher(); export let selected = calendarDefaults.selected; export let start = calendarDefaults.start; export let end = calendarDefaults.end; @@ -31,6 +33,9 @@ $: selected = $store.selected; $: formatted = dayjs(selected).format(format); + const dayClick = () =>{ + dispatch('dayClicked',store); + } @@ -42,7 +47,7 @@ on:mouseover={getFocusSetter(true)} on:mouseout={getFocusSetter(false)} > - + diff --git a/src/lib/components/calendar/Calendar.svelte b/src/lib/components/calendar/Calendar.svelte index f544311..e631924 100644 --- a/src/lib/components/calendar/Calendar.svelte +++ b/src/lib/components/calendar/Calendar.svelte @@ -7,7 +7,12 @@ import CrossfadeProvider from '$lib/components/generic/crossfade/CrossfadeProvider.svelte'; import MonthPicker from '$lib/components/calendar/MonthPicker.svelte'; import YearPicker from '$lib/components/calendar/YearPicker.svelte'; + import {createEventDispatcher} from 'svelte'; + let dispatch = createEventDispatcher(); + const dayClick = () =>{ + dispatch('dayClicked',store); + } const store = getContext(storeContextKey); @@ -17,7 +22,7 @@
{#if $store.activeView === 'days'} - + {:else if $store.activeView === 'months'} diff --git a/src/lib/components/calendar/DayPicker.svelte b/src/lib/components/calendar/DayPicker.svelte index f6e5565..c22a266 100644 --- a/src/lib/components/calendar/DayPicker.svelte +++ b/src/lib/components/calendar/DayPicker.svelte @@ -8,11 +8,14 @@ import Crossfade from '../generic/crossfade/Crossfade.svelte'; import scrollable from '$lib/directives/scrollable'; import { scrollStep } from '$lib/config/scroll'; + import {createEventDispatcher} from 'svelte'; + let dispatch = createEventDispatcher(); const store = getContext(storeContextKey); const duration = 450; + const legend = Array(7) .fill(0) .map((d, i) => @@ -24,6 +27,7 @@ const add = (amount) => () => store.add(amount, 'day'); const select = (day) => () => { + dispatch('dayClicked',store); if (!store.isSelectable(day)) return; store.setDay(day || $store.selected); if (!$store.shouldEnlargeDay) return store.selectDay();