Skip to content
This repository was archived by the owner on Dec 28, 2025. It is now read-only.

Commit c9d5761

Browse files
committed
added OU build cell re-run counter
1 parent 486236f commit c9d5761

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

DiffSinger_colab_notebook.ipynb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,14 @@
690690
"clear_output()\n",
691691
"import os\n",
692692
"import zipfile\n",
693+
"import shutil\n",
694+
"# to counter IF the user is to re-run this cell <3\n",
695+
"if os.path.exists(\"/content/OU_compatible_files\"):\n",
696+
" shutil.rmtree(\"/content/OU_compatible_files\")\n",
697+
" os.remove(\"/content/jpn_dict.txt\")\n",
698+
"else:\n",
699+
" pass\n",
700+
"\n",
693701
"#@markdown <font size=\"-1.5\"> select this if you don't want to see the onnx converter's output\n",
694702
"no_output = True # @param {type:\"boolean\"}\n",
695703
"\n",

0 commit comments

Comments
 (0)