Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions cookbook/img-to_img-search_CLIP_ChromaDB.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,8 @@
" ax = axs[idx]\n",
" ax.imshow(img)\n",
" # Assuming similarity is not available in the new data, removed sim_score\n",
" ax.title.set_text(f\"\\nProduct ID: {data[\"id\"]}\\n Score: {score}\")\n",
" data_id = data[\"id\"]\n",
" ax.title.set_text(f\"\\nProduct ID: {data_id}\\n Score: {score}\")\n",
" ax.axis(\"off\") # Turn off axis\n",
"\n",
" # Hide any remaining empty subplots\n",
Expand Down Expand Up @@ -595,7 +596,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
"version": "3.9.6"
}
},
"nbformat": 4,
Expand Down
15 changes: 6 additions & 9 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ const config = {
},
}),
}),
[
"@docusaurus/plugin-google-tag-manager",
{
containerId: "GTM-MH4VTX4V",
},
],
],

presets: [
Expand Down Expand Up @@ -313,15 +319,6 @@ const config = {
contextualSearch: false,
},
}),

scripts: [
baseUrl + "js/google_analytics.js",
{
src: "https://www.googletagmanager.com/gtag/js?id=G-9B66JQQH2F",
async: true,
},
],

customFields: {
supabasePublicKey: process.env.NEXT_PUBLIC_SUPABASE_PUBLIC_KEY,
supabaseUrl: process.env.NEXT_PUBLIC_SUPABASE_URL,
Expand Down
1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
},
"dependencies": {
"@docusaurus/core": "3.5.2",
"@docusaurus/plugin-google-tag-manager": "^3.8.1",
"@docusaurus/preset-classic": "3.5.2",
"@docusaurus/remark-plugin-npm2yarn": "^3.5.2",
"@docusaurus/theme-mermaid": "3.5.2",
Expand Down
Loading
Loading