Ayantanu commited on
Commit
6dbacd7
·
verified ·
1 Parent(s): cd5b718

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def extract_text_from_image(image, model, processor):
27
  "role": "user",
28
  "content": [
29
  {"type": "image", "image": image}, # Replace 'image' with your actual image data
30
- {"type": "text", "text": "Please read the text from the entire image and decode it line by line."}
31
  ]
32
  }
33
  ]
 
27
  "role": "user",
28
  "content": [
29
  {"type": "image", "image": image}, # Replace 'image' with your actual image data
30
+ {"type": "text", "text": "Please read the text from the entire image in which language it is and print it line by line."}
31
  ]
32
  }
33
  ]