Skip to content

Commit

Permalink
Update .ipynb (3.2.7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vidalnt committed Nov 17, 2024
1 parent 29b4a00 commit 9aa98d3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
4 changes: 2 additions & 2 deletions assets/Applio.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -450,4 +450,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}
15 changes: 10 additions & 5 deletions assets/Applio_Kaggle.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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\")"
]
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -231,4 +236,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}
2 changes: 1 addition & 1 deletion assets/Applio_NoUI.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
},
Expand Down

0 comments on commit 9aa98d3

Please sign in to comment.