Dileep7729
commited on
Update README.md
Browse files
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
|