jw2yang xianbao commited on
Commit
eab1bb3
·
verified ·
1 Parent(s): 691a1d8

Fix the code snippets (#12)

Browse files

- Fix the code snippets (e4dd8d22e9fb438632207f7a94d7e6addfac45bf)


Co-authored-by: Tiezhen WANG <[email protected]>

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -175,7 +175,7 @@ model.to("cuda")
175
  # Inference
176
  url = "https://assets-c4akfrf5b4d3f4b7.z01.azurefd.net/assets/2024/04/BMDataViz_661fb89f3845e.png"
177
  image = Image.open(BytesIO(requests.get(url, stream=True).content))
178
- image = image.convert("rgb")
179
 
180
  convs = [
181
  {"role": "system", "content": "You are agent that can see, talk and act."},
 
175
  # Inference
176
  url = "https://assets-c4akfrf5b4d3f4b7.z01.azurefd.net/assets/2024/04/BMDataViz_661fb89f3845e.png"
177
  image = Image.open(BytesIO(requests.get(url, stream=True).content))
178
+ image = image.convert("RGB")
179
 
180
  convs = [
181
  {"role": "system", "content": "You are agent that can see, talk and act."},