Upload fusion_t2i_CLIP_interrogator.ipynb
Browse files
Google Colab Notebooks/fusion_t2i_CLIP_interrogator.ipynb
CHANGED
@@ -395,7 +395,7 @@
|
|
395 |
"# @markdown -----------\n",
|
396 |
"# @markdown 📝 Enhance similarity to this prompt(optional)\n",
|
397 |
"POS = '' # @param {type:'string'}\n",
|
398 |
-
"strength = 1 # @param {type:\"slider\", min:-
|
399 |
"pos_strength = strength\n",
|
400 |
"# @markdown -----------\n",
|
401 |
"\n",
|
@@ -441,6 +441,7 @@
|
|
441 |
" loaded2\n",
|
442 |
"except:\n",
|
443 |
" _load_the_data = True\n",
|
|
|
444 |
"\n",
|
445 |
"if (_load_the_data):\n",
|
446 |
" target_prompts , target_text_encodings , urls , target_image_encodings , NUM_ITEMS = getPromptsAndLinks('/content/text-to-image-prompts/fusion')\n",
|
|
|
395 |
"# @markdown -----------\n",
|
396 |
"# @markdown 📝 Enhance similarity to this prompt(optional)\n",
|
397 |
"POS = '' # @param {type:'string'}\n",
|
398 |
+
"strength = 1 # @param {type:\"slider\", min:-50, max:50, step:0.1}\n",
|
399 |
"pos_strength = strength\n",
|
400 |
"# @markdown -----------\n",
|
401 |
"\n",
|
|
|
441 |
" loaded2\n",
|
442 |
"except:\n",
|
443 |
" _load_the_data = True\n",
|
444 |
+
" loaded2 = True\n",
|
445 |
"\n",
|
446 |
"if (_load_the_data):\n",
|
447 |
" target_prompts , target_text_encodings , urls , target_image_encodings , NUM_ITEMS = getPromptsAndLinks('/content/text-to-image-prompts/fusion')\n",
|