Spaces:
Sleeping
Sleeping
Delete Audio_Separator_Colab.ipynb
Browse files- Audio_Separator_Colab.ipynb +0 -74
Audio_Separator_Colab.ipynb
DELETED
|
@@ -1,74 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"cells": [
|
| 3 |
-
{
|
| 4 |
-
"cell_type": "markdown",
|
| 5 |
-
"metadata": {
|
| 6 |
-
"colab_type": "text",
|
| 7 |
-
"id": "view-in-github"
|
| 8 |
-
},
|
| 9 |
-
"source": [
|
| 10 |
-
"<a href=\"https://colab.research.google.com/github/R3gm/Audio_separator_ui/blob/main/Audio_Separator_Colab.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
|
| 11 |
-
]
|
| 12 |
-
},
|
| 13 |
-
{
|
| 14 |
-
"cell_type": "code",
|
| 15 |
-
"execution_count": null,
|
| 16 |
-
"metadata": {
|
| 17 |
-
"cellView": "form",
|
| 18 |
-
"id": "XbteyAzfklwa"
|
| 19 |
-
},
|
| 20 |
-
"outputs": [],
|
| 21 |
-
"source": [
|
| 22 |
-
"# @title Run the `Audio🔹separator` App\n",
|
| 23 |
-
"\n",
|
| 24 |
-
"conf_end = \"/content/Audio_separator_ui/.venv/complete.txt\"\n",
|
| 25 |
-
"def config_complete() -> bool:\n",
|
| 26 |
-
" import os\n",
|
| 27 |
-
" return os.path.exists(conf_end)\n",
|
| 28 |
-
"\n",
|
| 29 |
-
"if not config_complete():\n",
|
| 30 |
-
" print(\"\\033[34mThe installation will take approximately 5 minutes.\\033[0m\")\n",
|
| 31 |
-
" %cd /content\n",
|
| 32 |
-
" !git clone https://github.com/R3gm/Audio_separator_ui\n",
|
| 33 |
-
" %cd Audio_separator_ui\n",
|
| 34 |
-
" !pip install uv==0.8.13 -q\n",
|
| 35 |
-
" !uv venv --python 3.10 --clear -q\n",
|
| 36 |
-
" !curl -sS https://bootstrap.pypa.io/get-pip.py -o get-pip.py\n",
|
| 37 |
-
" !uv run python get-pip.py pip==23.1.2 -q\n",
|
| 38 |
-
" !uv run python -m pip install -q -r pre-requirements.txt\n",
|
| 39 |
-
" !uv run python -m pip install -q torch==2.5.1 torchvision==0.20.1 torchaudio==2.5.1 --index-url https://download.pytorch.org/whl/cu124\n",
|
| 40 |
-
" !uv run python -m pip install -q -r requirements.txt && touch {conf_end}\n",
|
| 41 |
-
"\n",
|
| 42 |
-
"%cd /content/Audio_separator_ui\n",
|
| 43 |
-
"!uv run python app.py --share --theme NoCrypt/miku"
|
| 44 |
-
]
|
| 45 |
-
},
|
| 46 |
-
{
|
| 47 |
-
"cell_type": "markdown",
|
| 48 |
-
"metadata": {
|
| 49 |
-
"id": "i18Q7Kf1CU9J"
|
| 50 |
-
},
|
| 51 |
-
"source": [
|
| 52 |
-
"Open the `public URL` when it appears"
|
| 53 |
-
]
|
| 54 |
-
}
|
| 55 |
-
],
|
| 56 |
-
"metadata": {
|
| 57 |
-
"accelerator": "GPU",
|
| 58 |
-
"colab": {
|
| 59 |
-
"authorship_tag": "ABX9TyNhZd6FNhKtQGbXlQbsSREk",
|
| 60 |
-
"gpuType": "T4",
|
| 61 |
-
"include_colab_link": true,
|
| 62 |
-
"provenance": []
|
| 63 |
-
},
|
| 64 |
-
"kernelspec": {
|
| 65 |
-
"display_name": "Python 3",
|
| 66 |
-
"name": "python3"
|
| 67 |
-
},
|
| 68 |
-
"language_info": {
|
| 69 |
-
"name": "python"
|
| 70 |
-
}
|
| 71 |
-
},
|
| 72 |
-
"nbformat": 4,
|
| 73 |
-
"nbformat_minor": 0
|
| 74 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|