Upload fusion_t2i_CLIP_interrogator.ipynb
Browse files
Google Colab Notebooks/fusion_t2i_CLIP_interrogator.ipynb
CHANGED
|
@@ -27,7 +27,7 @@
|
|
| 27 |
},
|
| 28 |
{
|
| 29 |
"cell_type": "code",
|
| 30 |
-
"execution_count":
|
| 31 |
"metadata": {
|
| 32 |
"id": "UEYEdzjgOEOE",
|
| 33 |
"colab": {
|
|
@@ -285,7 +285,9 @@
|
|
| 285 |
"\n",
|
| 286 |
"prompt_features = True # @param {\"type\":\"boolean\",\"placeholder\":\"π¦\"}\n",
|
| 287 |
"civitai_blue_set = True # @param {\"type\":\"boolean\",\"placeholder\":\"π\"}\n",
|
| 288 |
-
"
|
|
|
|
|
|
|
| 289 |
"prefix = False # @param {\"type\":\"boolean\",\"placeholder\":\"πΈ\"}\n",
|
| 290 |
"emojis = True # @param {\"type\":\"boolean\",\"placeholder\":\"π\"}\n",
|
| 291 |
"#------#\n",
|
|
@@ -358,6 +360,16 @@
|
|
| 358 |
" prompts , text_encodings, nA = append_from_url(prompts , text_encodings, nA , url , '')\n",
|
| 359 |
"#--------#\n",
|
| 360 |
"\n",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 361 |
"if suffix :\n",
|
| 362 |
" tmp = '/content/text-to-image-prompts/vocab/text_encodings/suffix/'\n",
|
| 363 |
" for item in ['common','average','rare','weird','exotic'] :\n",
|
|
|
|
| 27 |
},
|
| 28 |
{
|
| 29 |
"cell_type": "code",
|
| 30 |
+
"execution_count": null,
|
| 31 |
"metadata": {
|
| 32 |
"id": "UEYEdzjgOEOE",
|
| 33 |
"colab": {
|
|
|
|
| 285 |
"\n",
|
| 286 |
"prompt_features = True # @param {\"type\":\"boolean\",\"placeholder\":\"π¦\"}\n",
|
| 287 |
"civitai_blue_set = True # @param {\"type\":\"boolean\",\"placeholder\":\"π\"}\n",
|
| 288 |
+
"civitai_yellow_set = True # @param {\"type\":\"boolean\",\"placeholder\":\"π\"}\n",
|
| 289 |
+
"artby_prompts = True # @param {\"type\":\"boolean\",\"placeholder\":\"π\"}\n",
|
| 290 |
+
"suffix = False # @param {\"type\":\"boolean\",\"placeholder\":\"πΉ\"}\n",
|
| 291 |
"prefix = False # @param {\"type\":\"boolean\",\"placeholder\":\"πΈ\"}\n",
|
| 292 |
"emojis = True # @param {\"type\":\"boolean\",\"placeholder\":\"π\"}\n",
|
| 293 |
"#------#\n",
|
|
|
|
| 360 |
" prompts , text_encodings, nA = append_from_url(prompts , text_encodings, nA , url , '')\n",
|
| 361 |
"#--------#\n",
|
| 362 |
"\n",
|
| 363 |
+
"if civitai_yellow_set:\n",
|
| 364 |
+
" url = '/content/text-to-image-prompts/civitai-prompts/yellow'\n",
|
| 365 |
+
" prompts , text_encodings, nA = append_from_url(prompts , text_encodings, nA , url , '')\n",
|
| 366 |
+
"#--------#\n",
|
| 367 |
+
"\n",
|
| 368 |
+
"if artby:\n",
|
| 369 |
+
" url = '/content/text-to-image-prompts/artby'\n",
|
| 370 |
+
" prompts , text_encodings, nA = append_from_url(prompts , text_encodings, nA , url , '')\n",
|
| 371 |
+
"#--------#\n",
|
| 372 |
+
"\n",
|
| 373 |
"if suffix :\n",
|
| 374 |
" tmp = '/content/text-to-image-prompts/vocab/text_encodings/suffix/'\n",
|
| 375 |
" for item in ['common','average','rare','weird','exotic'] :\n",
|