sovitrath commited on
Commit
a343eeb
·
verified ·
1 Parent(s): 1ac1152

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -0
README.md CHANGED
@@ -13,6 +13,12 @@ Check the GitHub project here => https://github.com/sovit-123/receipt_ocr
13
  Usage:
14
 
15
  ```python
 
 
 
 
 
 
16
  model = AutoModelForVision2Seq.from_pretrained(
17
  'sovitrath/receipt-ocr-full-ft',
18
  device_map='auto',
 
13
  Usage:
14
 
15
  ```python
16
+ from transformers import AutoModelForVision2Seq, AutoProcessor
17
+ from PIL import Image
18
+
19
+ import torch
20
+ import argparse
21
+
22
  model = AutoModelForVision2Seq.from_pretrained(
23
  'sovitrath/receipt-ocr-full-ft',
24
  device_map='auto',