From fca3a6300917cc5af705ba4035a72a1a2495908d Mon Sep 17 00:00:00 2001
From: KezzNz <46627322+KezzNz@users.noreply.github.com>
Date: Mon, 11 Aug 2025 18:44:40 +1200
Subject: [PATCH 1/2] Created using Colab
---
AICoverGen_colab.ipynb | 148 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 148 insertions(+)
create mode 100644 AICoverGen_colab.ipynb
diff --git a/AICoverGen_colab.ipynb b/AICoverGen_colab.ipynb
new file mode 100644
index 0000000..8e589cb
--- /dev/null
+++ b/AICoverGen_colab.ipynb
@@ -0,0 +1,148 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "id": "view-in-github",
+ "colab_type": "text"
+ },
+ "source": [
+ "
"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "id": "39k2mOCNAh6J"
+ },
+ "source": [
+ "[](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",
+ "execution_count": 1,
+ "metadata": {
+ "id": "vC4gLMHI9xb3",
+ "outputId": "79642038-37f0-4e4e-901d-7b776792e409",
+ "colab": {
+ "base_uri": "https://localhost:8080/"
+ }
+ },
+ "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": null,
+ "metadata": {
+ "id": "odzpJHpr_PaF"
+ },
+ "outputs": [],
+ "source": [
+ "#@title Install requirements\n",
+ "!pip install pip\n",
+ "!pip install -q -r requirements.txt\n",
+ "!pip install gradio-client\n",
+ "!pip install gradio\n",
+ "# install cuda fix\n",
+ "!python -m 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",
+ "!sudo apt update\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": null,
+ "metadata": {
+ "cellView": "form",
+ "id": "SLWpcJc0AHSZ"
+ },
+ "outputs": [],
+ "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": {
+ "cellView": "form",
+ "id": "NEglTq6Ya9d0"
+ },
+ "execution_count": null,
+ "outputs": []
+ }
+ ],
+ "metadata": {
+ "accelerator": "GPU",
+ "colab": {
+ "provenance": [],
+ "include_colab_link": true
+ },
+ "kernelspec": {
+ "display_name": "Python 3",
+ "name": "python3"
+ },
+ "language_info": {
+ "name": "python"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
\ No newline at end of file
From b3e05721aed9c40b1d739e22c10ba850f73aadf0 Mon Sep 17 00:00:00 2001
From: KezzNz <46627322+KezzNz@users.noreply.github.com>
Date: Mon, 11 Aug 2025 19:35:33 +1200
Subject: [PATCH 2/2] Created using Colab
---
AICoverGen_colab.ipynb | 79 ++++++++++++++++++++++++++++++------------
1 file changed, 56 insertions(+), 23 deletions(-)
diff --git a/AICoverGen_colab.ipynb b/AICoverGen_colab.ipynb
index 8e589cb..904fc9e 100644
--- a/AICoverGen_colab.ipynb
+++ b/AICoverGen_colab.ipynb
@@ -1,15 +1,5 @@
{
"cells": [
- {
- "cell_type": "markdown",
- "metadata": {
- "id": "view-in-github",
- "colab_type": "text"
- },
- "source": [
- "
"
- ]
- },
{
"cell_type": "markdown",
"metadata": {
@@ -35,10 +25,10 @@
"execution_count": 1,
"metadata": {
"id": "vC4gLMHI9xb3",
- "outputId": "79642038-37f0-4e4e-901d-7b776792e409",
"colab": {
"base_uri": "https://localhost:8080/"
- }
+ },
+ "outputId": "af1c5cc1-182a-4fe8-92ac-b77ed41b76af"
},
"outputs": [
{
@@ -77,15 +67,31 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
- "id": "odzpJHpr_PaF"
+ "id": "odzpJHpr_PaF",
+ "colab": {
+ "base_uri": "https://localhost:8080/"
+ },
+ "outputId": "3f726c75-eeef-4619-d16d-ab20ef2c033a"
},
- "outputs": [],
+ "outputs": [
+ {
+ "output_type": "stream",
+ "name": "stdout",
+ "text": [
+ "Timer: 00:00:10Requirement already satisfied: pip in /usr/local/lib/python3.11/dist-packages (24.1.2)\n",
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m9.6/9.6 MB\u001b[0m \u001b[31m76.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
+ "Timer: 00:00:29"
+ ]
+ }
+ ],
"source": [
"#@title Install requirements\n",
"!pip install pip\n",
"!pip install -q -r requirements.txt\n",
"!pip install gradio-client\n",
"!pip install gradio\n",
+ "!pip install sox\n",
+ "\n",
"# install cuda fix\n",
"!python -m pip install ort-nightly-gpu --index-url=https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ort-cuda-12-nightly/pypi/simple/\n",
"clear_output()\n",
@@ -100,12 +106,23 @@
},
{
"cell_type": "code",
- "execution_count": null,
+ "execution_count": 5,
"metadata": {
- "cellView": "form",
- "id": "SLWpcJc0AHSZ"
+ "id": "SLWpcJc0AHSZ",
+ "colab": {
+ "base_uri": "https://localhost:8080/"
+ },
+ "outputId": "65f19f27-f991-4f33-d2e8-7f9a9d0e6fbb"
},
- "outputs": [],
+ "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",
@@ -123,17 +140,33 @@
],
"metadata": {
"cellView": "form",
- "id": "NEglTq6Ya9d0"
+ "id": "NEglTq6Ya9d0",
+ "colab": {
+ "base_uri": "https://localhost:8080/"
+ },
+ "outputId": "684318bd-d190-41bc-80eb-ca91c594dcb2"
},
- "execution_count": null,
- "outputs": []
+ "execution_count": 6,
+ "outputs": [
+ {
+ "output_type": "stream",
+ "name": "stdout",
+ "text": [
+ "Timer: 00:15:28Traceback (most recent call last):\n",
+ " File \"/content/HRVC/HRVC/HRVC/src/webui.py\", line 10, in \n",
+ " from main import song_cover_pipeline\n",
+ " File \"/content/HRVC/HRVC/HRVC/src/main.py\", line 15, in \n",
+ " import sox\n",
+ "ModuleNotFoundError: No module named 'sox'\n"
+ ]
+ }
+ ]
}
],
"metadata": {
"accelerator": "GPU",
"colab": {
- "provenance": [],
- "include_colab_link": true
+ "provenance": []
},
"kernelspec": {
"display_name": "Python 3",