diff --git a/assets/Applio.ipynb b/assets/Applio.ipynb index b3144fa6..c733c471 100644 --- a/assets/Applio.ipynb +++ b/assets/Applio.ipynb @@ -57,7 +57,7 @@ "uioawhd = rot_47(codecs.decode(\"pbbxa://oqbpcj.kwu/QIPqaxivw/Ixxtqw.oqb\", \"rot_13\"))\n", "uyadwa = codecs.decode(\"ncc.cl\", \"rot_13\")\n", "A = \"/content/\" + rot_47(\"Kikpm.ovm.bu\")\n", - "!git clone --depth 1 $uioawhd $new_name --branch 3.2.6 --single-branch\n", + "!git clone --depth 1 $uioawhd $new_name --branch 3.2.7 --single-branch\n", "%cd $new_name/\n", "clear_output()\n", "def vidal_setup():\n", @@ -450,4 +450,4 @@ }, "nbformat": 4, "nbformat_minor": 0 -} \ No newline at end of file +} diff --git a/assets/Applio_Kaggle.ipynb b/assets/Applio_Kaggle.ipynb index 590f8f25..0479b47c 100644 --- a/assets/Applio_Kaggle.ipynb +++ b/assets/Applio_Kaggle.ipynb @@ -33,11 +33,10 @@ "source": [ "import codecs\n", "import os\n", - "import shutil\n", "import tarfile\n", "import subprocess\n", "from pathlib import Path\n", - "from IPython.display import clear_output, Javascript\n", + "from IPython.display import clear_output\n", "rot_47 = lambda encoded_text: \"\".join(\n", " [\n", " (\n", @@ -56,7 +55,7 @@ "findme = rot_47(codecs.decode(\"pbbxa://oqbpcj.kwu/Dqlitvb/qurwg-mtnqvlmz.oqb\", \"rot_13\"))\n", "uioawhd = rot_47(codecs.decode(\"pbbxa://oqbpcj.kwu/QIPqaxivw/Ixxtqw.oqb\", \"rot_13\"))\n", "!pip install uv\n", - "!git clone --depth 1 $uioawhd $new_name --branch 3.2.6\n", + "!git clone --depth 1 $uioawhd $new_name --branch 3.2.7\n", "clear_output()\n", "!mkdir -p /kaggle/tmp\n", "%cd /kaggle/tmp\n", @@ -92,6 +91,10 @@ "vidal_setup(False)\n", "%cd /kaggle/working/program_ml\n", "!source /kaggle/tmp/.venv/bin/activate; python core.py \"prerequisites\" --models \"True\" --exe \"True\" --pretraineds_v1_f0 \"False\" --pretraineds_v2_f0 \"True\" --pretraineds_v1_nof0 \"False\" --pretraineds_v2_nof0 \"False\" > /dev/null 2>&1\n", + "!sudo curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | sudo bash\n", + "!filebrowser config init\n", + "!filebrowser config set --auth.method=noauth\n", + "!filebrowser users add \"applio\" \"\" --perm.admin\n", "clear_output()\n", "print(\"Finished\")" ] @@ -131,10 +134,12 @@ }, "outputs": [], "source": [ + "import os\n", "from pyngrok import ngrok\n", + "from IPython.display import clear_output\n", "ngrok.kill()\n", "%cd /kaggle/working/program_ml\n", - "os.system(f\". /kaggle/tmp/.venv/bin/activate; imjoy-elfinder --root-dir=/kaggle --port 9876 > /dev/null 2>&1 &\")\n", + "os.system(f\"filebrowser -r /kaggle -p 9876 > /dev/null 2>&1 &\")\n", "clear_output()\n", "%load_ext tensorboard\n", "%tensorboard --logdir logs --port 8077\n", @@ -231,4 +236,4 @@ }, "nbformat": 4, "nbformat_minor": 4 -} \ No newline at end of file +} diff --git a/assets/Applio_NoUI.ipynb b/assets/Applio_NoUI.ipynb index 28c12b26..49f89d75 100644 --- a/assets/Applio_NoUI.ipynb +++ b/assets/Applio_NoUI.ipynb @@ -75,7 +75,7 @@ "outputs": [], "source": [ "# @title Clone\n", - "!git clone https://github.com/IAHispano/Applio --branch 3.2.6 --single-branch\n", + "!git clone https://github.com/IAHispano/Applio --branch 3.2.7 --single-branch\n", "%cd /content/Applio" ] },