om440 commited on
Commit
b1538d0
·
verified ·
1 Parent(s): 5b046b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 only the data available"
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)