This commit is contained in:
sslee
2024-08-22 13:33:53 -04:00
committed by GitHub
parent d886f4e107
commit 61228da1c4
3 changed files with 18 additions and 8 deletions

View File

@@ -445,7 +445,7 @@
"\n",
"\n",
"def plt_img_base64(img_base64):\n",
" \"\"\"Disply base64 encoded string as image\"\"\"\n",
" \"\"\"Display base64 encoded string as image\"\"\"\n",
" # Create an HTML img tag with the base64 string as the source\n",
" image_html = f'<img src=\"data:image/jpeg;base64,{img_base64}\" />'\n",
" # Display the image by rendering the HTML\n",