Update ocr.py
Browse files
ocr.py
CHANGED
@@ -338,7 +338,7 @@ def process_image_file(input_file: str):
|
|
338 |
"text": (
|
339 |
#"Could you extract the information present in the image. "
|
340 |
#"No need to repeat the task description. Simply respond."
|
341 |
-
"Could you perform optical
|
342 |
"Simply return the text without any additional comments. "
|
343 |
"The exception would be if the image represents an ID card. "
|
344 |
"In such a case, please return the information in a structured format. "
|
|
|
338 |
"text": (
|
339 |
#"Could you extract the information present in the image. "
|
340 |
#"No need to repeat the task description. Simply respond."
|
341 |
+
"Could you perform optical character recognition (OCR) on the image? "
|
342 |
"Simply return the text without any additional comments. "
|
343 |
"The exception would be if the image represents an ID card. "
|
344 |
"In such a case, please return the information in a structured format. "
|