Skip to content

Commit 944dc4b

Browse files
Created using Colaboratory
1 parent 6b19898 commit 944dc4b

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

diffusers/sd_textual_inversion_training.ipynb

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
},
111111
{
112112
"cell_type": "code",
113-
"execution_count": 2,
113+
"execution_count": null,
114114
"metadata": {
115115
"cellView": "form",
116116
"id": "1_h0kO-VnQog"
@@ -210,7 +210,7 @@
210210
"metadata": {
211211
"id": "lO00F6bmn2ru"
212212
},
213-
"execution_count": 8,
213+
"execution_count": null,
214214
"outputs": []
215215
},
216216
{
@@ -241,7 +241,7 @@
241241
"base_uri": "https://localhost:8080/"
242242
}
243243
},
244-
"execution_count": 9,
244+
"execution_count": null,
245245
"outputs": [
246246
{
247247
"output_type": "execute_result",
@@ -297,7 +297,7 @@
297297
"base_uri": "https://localhost:8080/"
298298
}
299299
},
300-
"execution_count": 5,
300+
"execution_count": null,
301301
"outputs": [
302302
{
303303
"name": "stdout",
@@ -320,7 +320,7 @@
320320
},
321321
{
322322
"cell_type": "code",
323-
"execution_count": 12,
323+
"execution_count": null,
324324
"metadata": {
325325
"colab": {
326326
"base_uri": "https://localhost:8080/",
@@ -355,7 +355,7 @@
355355
},
356356
{
357357
"cell_type": "code",
358-
"execution_count": 11,
358+
"execution_count": null,
359359
"metadata": {
360360
"cellView": "form",
361361
"id": "8i_vLTBxAXpE"
@@ -1086,6 +1086,7 @@
10861086
" what_to_teach_article = f\"an `{what_to_teach}`\"\n",
10871087
" readme_text = f'''---\n",
10881088
"license: mit\n",
1089+
"base_model: {pretrained_model_name_or_path}\n",
10891090
"---\n",
10901091
"### {name_of_your_concept} on Stable Diffusion\n",
10911092
"This is the `{placeholder_token}` concept taught to Stable Diffusion via Textual Inversion. You can load this concept into the [Stable Conceptualizer](https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/stable_conceptualizer_inference.ipynb) notebook. You can also train your own concepts and load them into the concept libraries using [this notebook](https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/sd_textual_inversion_training.ipynb).\n",
@@ -1587,4 +1588,4 @@
15871588
},
15881589
"nbformat": 4,
15891590
"nbformat_minor": 0
1590-
}
1591+
}

0 commit comments

Comments
 (0)