Update src/task.py
Browse files- src/task.py +0 -2
src/task.py
CHANGED
@@ -14,9 +14,7 @@ def ocr_task(image):
|
|
14 |
|
15 |
Returns:
|
16 |
tuple: A tuple containing the output image with OCR bounding boxes drawn and the cleaned OCR text.
|
17 |
-
|
18 |
"""
|
19 |
-
|
20 |
# Task prompts
|
21 |
ocr_prompt = "<OCR>"
|
22 |
ocr_with_region_prompt = "<OCR_WITH_REGION>"
|
|
|
14 |
|
15 |
Returns:
|
16 |
tuple: A tuple containing the output image with OCR bounding boxes drawn and the cleaned OCR text.
|
|
|
17 |
"""
|
|
|
18 |
# Task prompts
|
19 |
ocr_prompt = "<OCR>"
|
20 |
ocr_with_region_prompt = "<OCR_WITH_REGION>"
|