Upload fusion_t2i_CLIP_interrogator.ipynb
Browse files
Google Colab Notebooks/fusion_t2i_CLIP_interrogator.ipynb
CHANGED
@@ -485,7 +485,7 @@
|
|
485 |
" _prompts = _prompts + prompt + separator\n",
|
486 |
" #------#\n",
|
487 |
" #------#\n",
|
488 |
-
"
|
489 |
" __prompts = ('{' + _prompts + '}').replace(separator + '}', '}')\n",
|
490 |
" __sims = ('{' + _sims + '}').replace(separator + '}', '}')\n",
|
491 |
" #------#\n",
|
@@ -509,7 +509,6 @@
|
|
509 |
"image\n"
|
510 |
],
|
511 |
"metadata": {
|
512 |
-
"cellView": "form",
|
513 |
"id": "XW3914T8O2uf"
|
514 |
},
|
515 |
"execution_count": null,
|
|
|
485 |
" _prompts = _prompts + prompt + separator\n",
|
486 |
" #------#\n",
|
487 |
" #------#\n",
|
488 |
+
" _prompts = fix_bad_symbols(_prompts)\n",
|
489 |
" __prompts = ('{' + _prompts + '}').replace(separator + '}', '}')\n",
|
490 |
" __sims = ('{' + _sims + '}').replace(separator + '}', '}')\n",
|
491 |
" #------#\n",
|
|
|
509 |
"image\n"
|
510 |
],
|
511 |
"metadata": {
|
|
|
512 |
"id": "XW3914T8O2uf"
|
513 |
},
|
514 |
"execution_count": null,
|