nielsr HF staff commited on
Commit
c892f3e
1 Parent(s): 7daabef

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -1
README.md CHANGED
@@ -46,7 +46,6 @@ url = "https://github.com/haotian-liu/LLaVA/blob/1a91fc274d7c35a9b50b3cb29c4247a
46
  image = Image.open(requests.get(url, stream=True).raw)
47
  prompt = "A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the human's questions. USER: <image>\nWhat is shown in this image? ASSISTANT:"
48
 
49
-
50
  inputs = processor(prompt, image, return_tensors="pt").to("cuda:0")
51
 
52
  # autoregressively complete prompt
 
46
  image = Image.open(requests.get(url, stream=True).raw)
47
  prompt = "A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the human's questions. USER: <image>\nWhat is shown in this image? ASSISTANT:"
48
 
 
49
  inputs = processor(prompt, image, return_tensors="pt").to("cuda:0")
50
 
51
  # autoregressively complete prompt