teowu tobiashaab commited on
Commit
04caee9
·
verified ·
1 Parent(s): 35bd918

Updates Transformers Inference code in README.md (#8)

Browse files

- Updates Transformers Inference code in README.md (99589740eed1a93479b97d875dae412083e29af7)


Co-authored-by: Tobias Haab <[email protected]>

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -193,7 +193,7 @@ model = AutoModelForCausalLM.from_pretrained(
193
  )
194
  processor = AutoProcessor.from_pretrained(model_path, trust_remote_code=True)
195
 
196
- image_paths = ["url"]
197
  images = [Image.open(path) for path in image_paths]
198
  messages = [
199
  {
 
193
  )
194
  processor = AutoProcessor.from_pretrained(model_path, trust_remote_code=True)
195
 
196
+ image_paths = [url]
197
  images = [Image.open(path) for path in image_paths]
198
  messages = [
199
  {