Spaces:
Build error
Build error
jhj0517
commited on
Commit
Β·
405df1c
1
Parent(s):
544fd69
update notebook
Browse files- notebook/musepose_webui.ipynb +25 -10
notebook/musepose_webui.ipynb
CHANGED
|
@@ -24,7 +24,7 @@
|
|
| 24 |
"\n",
|
| 25 |
"π **This notebook has been updated [here](https://github.com/jhj0517/MusePose-WebUI)!**\n",
|
| 26 |
"\n",
|
| 27 |
-
"π **Author**: [jhj0517](https://github.com/jhj0517/
|
| 28 |
"\n",
|
| 29 |
"π **Support the Project**:\n",
|
| 30 |
"\n",
|
|
@@ -50,7 +50,7 @@
|
|
| 50 |
"outputs": [],
|
| 51 |
"source": [
|
| 52 |
"#@title #Installation\n",
|
| 53 |
-
"#@markdown This will install dependencies for musepose webui\n",
|
| 54 |
"\n",
|
| 55 |
"!git clone https://github.com/jhj0517/MusePose-WebUI.git\n",
|
| 56 |
"%cd MusePose-WebUI\n",
|
|
@@ -60,8 +60,28 @@
|
|
| 60 |
{
|
| 61 |
"cell_type": "code",
|
| 62 |
"source": [
|
| 63 |
-
"#@title #Mount
|
| 64 |
-
"#@markdown
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
"\n",
|
| 66 |
"MusePose_Model_Path = '/content/drive/MyDrive/MusePose/pretrained_weights' # @param {type:\"string\"}\n",
|
| 67 |
"Output_Dir = '/content/drive/MyDrive/MusePose/output_folder' # @param {type:\"string\"}\n",
|
|
@@ -92,11 +112,6 @@
|
|
| 92 |
"#@markdown You can download weigths here: [ReadMe](https://github.com/TMElyralab/MusePose?tab=readme-ov-file#download-weights)\n",
|
| 93 |
"\n",
|
| 94 |
"\n",
|
| 95 |
-
"# Mount Google Drive\n",
|
| 96 |
-
"from google.colab import drive\n",
|
| 97 |
-
"import os\n",
|
| 98 |
-
"drive.mount('/content/drive')\n",
|
| 99 |
-
"\n",
|
| 100 |
"\n",
|
| 101 |
"# Symlink model path with google drive and local\n",
|
| 102 |
"local_model_path = '/content/MusePose-WebUI/pretrained_weights'\n",
|
|
@@ -120,7 +135,7 @@
|
|
| 120 |
],
|
| 121 |
"metadata": {
|
| 122 |
"cellView": "form",
|
| 123 |
-
"id": "
|
| 124 |
},
|
| 125 |
"execution_count": null,
|
| 126 |
"outputs": []
|
|
|
|
| 24 |
"\n",
|
| 25 |
"π **This notebook has been updated [here](https://github.com/jhj0517/MusePose-WebUI)!**\n",
|
| 26 |
"\n",
|
| 27 |
+
"π **Author**: [jhj0517](https://github.com/jhj0517/MusePose-WebUI/blob/main/notebook/musepose_webui.ipynb)\n",
|
| 28 |
"\n",
|
| 29 |
"π **Support the Project**:\n",
|
| 30 |
"\n",
|
|
|
|
| 50 |
"outputs": [],
|
| 51 |
"source": [
|
| 52 |
"#@title #Installation\n",
|
| 53 |
+
"#@markdown This will install dependencies for musepose webui. Ignore \"RESTART SESSION\" warning if it appears\n",
|
| 54 |
"\n",
|
| 55 |
"!git clone https://github.com/jhj0517/MusePose-WebUI.git\n",
|
| 56 |
"%cd MusePose-WebUI\n",
|
|
|
|
| 60 |
{
|
| 61 |
"cell_type": "code",
|
| 62 |
"source": [
|
| 63 |
+
"#@title #Mount Google Drive\n",
|
| 64 |
+
"#@markdown Mount Your Google Drive for your model & output paths.\n",
|
| 65 |
+
"\n",
|
| 66 |
+
"# Mount Google Drive\n",
|
| 67 |
+
"from google.colab import drive\n",
|
| 68 |
+
"import os\n",
|
| 69 |
+
"drive.mount('/content/drive')"
|
| 70 |
+
],
|
| 71 |
+
"metadata": {
|
| 72 |
+
"cellView": "form",
|
| 73 |
+
"id": "IbkdctzO0S2n"
|
| 74 |
+
},
|
| 75 |
+
"execution_count": null,
|
| 76 |
+
"outputs": []
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"cell_type": "code",
|
| 80 |
+
"source": [
|
| 81 |
+
"#@title # Enter Your Paths on Google Drive\n",
|
| 82 |
+
"#@markdown Enter your models & output directory paths on your google drive.\n",
|
| 83 |
+
"\n",
|
| 84 |
+
"#@markdown Remove these default values below and enter yours.\n",
|
| 85 |
"\n",
|
| 86 |
"MusePose_Model_Path = '/content/drive/MyDrive/MusePose/pretrained_weights' # @param {type:\"string\"}\n",
|
| 87 |
"Output_Dir = '/content/drive/MyDrive/MusePose/output_folder' # @param {type:\"string\"}\n",
|
|
|
|
| 112 |
"#@markdown You can download weigths here: [ReadMe](https://github.com/TMElyralab/MusePose?tab=readme-ov-file#download-weights)\n",
|
| 113 |
"\n",
|
| 114 |
"\n",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
"\n",
|
| 116 |
"# Symlink model path with google drive and local\n",
|
| 117 |
"local_model_path = '/content/MusePose-WebUI/pretrained_weights'\n",
|
|
|
|
| 135 |
],
|
| 136 |
"metadata": {
|
| 137 |
"cellView": "form",
|
| 138 |
+
"id": "FILfLli5MdRk"
|
| 139 |
},
|
| 140 |
"execution_count": null,
|
| 141 |
"outputs": []
|