farbodpya commited on
Commit
41013f8
·
verified ·
1 Parent(s): 67d6a3a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -4
README.md CHANGED
@@ -22,10 +22,9 @@ The model uses a **CNN + Transformer architecture** trained with **CTC loss** to
22
  - `config.json` : Model configuration (optional, for reference)
23
 
24
  ## Installation
25
-
26
-
27
  pip install torch torchvision huggingface_hub
28
-
29
 
30
 
31
  ## Usage
@@ -68,7 +67,7 @@ model.eval()
68
  # 5️⃣ Run OCR on an image
69
  img_path = "sample.png" # replace with your own image
70
  text = ocr_page(img_path, model, idx_to_char)
71
- print(text)
72
 
73
 
74
 
 
22
  - `config.json` : Model configuration (optional, for reference)
23
 
24
  ## Installation
25
+ ```
 
26
  pip install torch torchvision huggingface_hub
27
+ ```
28
 
29
 
30
  ## Usage
 
67
  # 5️⃣ Run OCR on an image
68
  img_path = "sample.png" # replace with your own image
69
  text = ocr_page(img_path, model, idx_to_char)
70
+ print("\n=== Final OCR Page ===\n", text)
71
 
72
 
73