Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ model = model.eval().cuda()
|
|
6 |
|
7 |
|
8 |
# input your test image
|
9 |
-
image_file = '
|
10 |
|
11 |
# plain texts OCR
|
12 |
res = model.chat(tokenizer, image_file, ocr_type='ocr')
|
|
|
6 |
|
7 |
|
8 |
# input your test image
|
9 |
+
image_file = 'input_data/ocr_input/shopping-1200-1667548245.jpg'
|
10 |
|
11 |
# plain texts OCR
|
12 |
res = model.chat(tokenizer, image_file, ocr_type='ocr')
|