nielsr HF staff MicahB commited on
Commit
95f2cf3
1 Parent(s): fa3dd28
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -53,7 +53,7 @@ pipe = pipeline("image-to-text", model=model_id)
53
  url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/ai2d-demo.jpg"
54
  image = Image.open(requests.get(url, stream=True).raw)
55
 
56
- # Define a chat histiry and use `apply_chat_template` to get correctly formatted prompt
57
  # Each value in "content" has to be a list of dicts with types ("text", "image")
58
  conversation = [
59
  {
 
53
  url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/ai2d-demo.jpg"
54
  image = Image.open(requests.get(url, stream=True).raw)
55
 
56
+ # Define a chat history and use `apply_chat_template` to get correctly formatted prompt
57
  # Each value in "content" has to be a list of dicts with types ("text", "image")
58
  conversation = [
59
  {