Dileep7729 commited on
Commit
02c0269
·
verified ·
1 Parent(s): 896a571

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -31,7 +31,7 @@ This experimental model can be used for answering questions on product images in
31
 
32
  ### How to use the model:
33
 
34
- '''
35
  import requests
36
  from PIL import Image
37
  from transformers import BlipProcessor, BlipForConditionalGeneration
@@ -55,7 +55,7 @@ inputs = processor(raw_image, return_tensors="pt")
55
  out = model.generate(**inputs)
56
  print(processor.decode(out[0], skip_special_tokens=True))
57
 
58
- '''
59
 
60
 
61
  ## BibTex and citation info
 
31
 
32
  ### How to use the model:
33
 
34
+ ```
35
  import requests
36
  from PIL import Image
37
  from transformers import BlipProcessor, BlipForConditionalGeneration
 
55
  out = model.generate(**inputs)
56
  print(processor.decode(out[0], skip_special_tokens=True))
57
 
58
+ ```
59
 
60
 
61
  ## BibTex and citation info