Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from transformers import pipeline
|
|
5 |
# from craft_text_detector import Craft
|
6 |
import os
|
7 |
|
8 |
-
model_ckpt = "razhan/trocr-
|
9 |
ocr = pipeline("image-to-text", model=model_ckpt)
|
10 |
|
11 |
|
|
|
5 |
# from craft_text_detector import Craft
|
6 |
import os
|
7 |
|
8 |
+
model_ckpt = "razhan/trocr-base-ckb"
|
9 |
ocr = pipeline("image-to-text", model=model_ckpt)
|
10 |
|
11 |
|