Cubex11 commited on
Commit
d58d944
·
verified ·
1 Parent(s): b93ed7d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -3
README.md CHANGED
@@ -70,9 +70,8 @@ model = AutoModelForImageTextToText.from_pretrained(
70
  )
71
  processor = AutoProcessor.from_pretrained(model_id)
72
 
73
- # Load an image
74
- url = "https://upload.wikimedia.org/wikipedia/commons/thumb/4/47/PNG_transparency_demonstration_1.png/280px-PNG_transparency_demonstration_1.png"
75
- image = Image.open(requests.get(url, stream=True).raw).convert("RGB")
76
 
77
  # Create prompt
78
  messages = [
 
70
  )
71
  processor = AutoProcessor.from_pretrained(model_id)
72
 
73
+ # Load an image (replace with your own image path or URL)
74
+ image = Image.open("your_image.jpg").convert("RGB")
 
75
 
76
  # Create prompt
77
  messages = [