Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def ocr_on_image(image):
|
|
51 |
"Don't separate handwritten and printex text."
|
52 |
"DO NOT confuse between '.' a point and '|' a boder"
|
53 |
"Extract only the raw text with and do not add any comment"
|
54 |
-
"Extract
|
55 |
)
|
56 |
messages = [{"role": "user", "content": [{"type": "text", "text": prompt3}, {"type": "image"}]}]
|
57 |
texts = processor.apply_chat_template(messages, add_generation_prompt=True)
|
|
|
51 |
"Don't separate handwritten and printex text."
|
52 |
"DO NOT confuse between '.' a point and '|' a boder"
|
53 |
"Extract only the raw text with and do not add any comment"
|
54 |
+
"Extract the content ligne by ligne"
|
55 |
)
|
56 |
messages = [{"role": "user", "content": [{"type": "text", "text": prompt3}, {"type": "image"}]}]
|
57 |
texts = processor.apply_chat_template(messages, add_generation_prompt=True)
|