yushihu commited on
Commit
00fd1b8
1 Parent(s): 7847f46

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -1
README.md CHANGED
@@ -46,7 +46,16 @@ image = "glove_boy.jpeg"
46
  print(model.caption(prompt, image))
47
  ```
48
 
49
- To try generic captioning, just use "please describe this image according to the given question: what does the image describe?"
 
 
 
 
 
 
 
 
 
50
 
51
  PromptCap also support taking OCR inputs:
52
 
 
46
  print(model.caption(prompt, image))
47
  ```
48
 
49
+ To try generic captioning, just use "what does the image describe?"
50
+
51
+ ```python
52
+ prompt = "what does the image describe?"
53
+ image = "glove_boy.jpeg"
54
+
55
+ print(model.caption(prompt, image))
56
+ ```
57
+
58
+
59
 
60
  PromptCap also support taking OCR inputs:
61