ankrgyl commited on
Commit
ab41708
1 Parent(s): 49a967d

Fix formatting

Browse files
Files changed (1) hide show
  1. README.md +12 -3
README.md CHANGED
@@ -31,13 +31,22 @@ nlp = pipeline(
31
  trust_remote_code=True,
32
  )
33
 
34
- nlp("https://templates.invoicehome.com/invoice-template-us-neat-750px.png", "What is the invoice number?")
 
 
 
35
  # {'score': 0.9943977, 'answer': 'us-001', 'start': 15, 'end': 15}
36
 
37
- nlp("https://miro.medium.com/max/787/1*iECQRIiOGTmEFLdWkVIH2g.jpeg", "What is the purchase amount?")
 
 
 
38
  # {'score': 0.9912159, 'answer': '$1,000,000,000', 'start': 97, 'end': 97}
39
 
40
- nlp("https://www.accountingcoach.com/wp-content/uploads/2013/10/income-statement-example@2x.png", "What are the 2020 net sales?")
 
 
 
41
  # {'score': 0.59147286, 'answer': '$ 3,750', 'start': 19, 'end': 20}
42
  ```
43
 
 
31
  trust_remote_code=True,
32
  )
33
 
34
+ nlp(
35
+ "https://templates.invoicehome.com/invoice-template-us-neat-750px.png",
36
+ "What is the invoice number?"
37
+ )
38
  # {'score': 0.9943977, 'answer': 'us-001', 'start': 15, 'end': 15}
39
 
40
+ nlp(
41
+ "https://miro.medium.com/max/787/1*iECQRIiOGTmEFLdWkVIH2g.jpeg",
42
+ "What is the purchase amount?"
43
+ )
44
  # {'score': 0.9912159, 'answer': '$1,000,000,000', 'start': 97, 'end': 97}
45
 
46
+ nlp(
47
+ "https://www.accountingcoach.com/wp-content/uploads/2013/10/income-statement-example@2x.png",
48
+ "What are the 2020 net sales?"
49
+ )
50
  # {'score': 0.59147286, 'answer': '$ 3,750', 'start': 19, 'end': 20}
51
  ```
52