AnwenHu commited on
Commit
b8a4fe9
β€’
1 Parent(s): 3ccbfef

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -5
README.md CHANGED
@@ -41,11 +41,18 @@ class DocOwlInfer():
41
 
42
  docowl = DocOwlInfer(ckpt_path='mPLUG/DocOwl2')
43
 
44
- images = ['./examples/paper_page1.png', './examples/paper_page2.png', './examples/paper_page3.png']
45
-
46
- query = "What is this paper about, provide detailed information."
47
-
48
- answer = docowl.inference(images, query)
 
 
 
 
 
 
 
49
 
50
 
51
  β€˜β€™β€˜
 
41
 
42
  docowl = DocOwlInfer(ckpt_path='mPLUG/DocOwl2')
43
 
44
+ images = [
45
+ './examples/docowl2_page0.png',
46
+ './examples/docowl2_page1.png',
47
+ './examples/docowl2_page2.png',
48
+ './examples/docowl2_page3.png',
49
+ './examples/docowl2_page4.png',
50
+ './examples/docowl2_page5.png',
51
+ ]
52
+
53
+ answer = docowl.inference(images, query='what is this paper about? provide detailed information.')
54
+
55
+ answer = docowl.inference(images, query='what is the third page about? provide detailed information.')
56
 
57
 
58
  β€˜β€™β€˜