weizhiwang commited on
Commit
fdc1361
1 Parent(s): df3261c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -48,7 +48,7 @@ prompt = conv.get_prompt()
48
  input_ids = tokenizer_image_token(prompt, tokenizer, -200, return_tensors='pt').unsqueeze(0).cuda()
49
 
50
  # prepare image input
51
- url = "https://upload.wikimedia.org/wikipedia/en/thumb/7/7d/Lenna_%28test_image%29.png/330px-Lenna_%28test_image%29.png"
52
  response = requests.get(url)
53
  image = Image.open(BytesIO(response.content)).convert('RGB')
54
  image_tensor = image_processor.preprocess(image, return_tensors='pt')['pixel_values'].half().cuda()
 
48
  input_ids = tokenizer_image_token(prompt, tokenizer, -200, return_tensors='pt').unsqueeze(0).cuda()
49
 
50
  # prepare image input
51
+ url = "https://huggingface.co/adept/fuyu-8b/resolve/main/bus.png"
52
  response = requests.get(url)
53
  image = Image.open(BytesIO(response.content)).convert('RGB')
54
  image_tensor = image_processor.preprocess(image, return_tensors='pt')['pixel_values'].half().cuda()