fix: image URL in notebook to use raw.githubusercontent.com (#20100)

This commit is contained in:
shuwenn
2026-03-07 13:28:20 -08:00
committed by GitHub
parent 45bd30e29d
commit 7bd3dd9270
3 changed files with 15 additions and 25 deletions
@@ -430,7 +430,7 @@
" s += assistant(gen(\"answer\", max_tokens=256))\n",
"\n",
"\n",
"image_url = \"https://github.com/sgl-project/sglang/blob/main/examples/assets/example_image.png?raw=true\"\n",
"image_url = \"https://raw.githubusercontent.com/sgl-project/sglang/main/examples/assets/example_image.png\"\n",
"image_bytes, _ = load_image(image_url)\n",
"state = image_qa(image_bytes, \"What is in the image?\")\n",
"print_highlight(state[\"answer\"])"