Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def process_files_fixed(image_path, page_identifier, error_pages):
|
|
53 |
error_pages.append(page_identifier)
|
54 |
return []
|
55 |
|
56 |
-
prompt = """Perform OCR on this image. Analyze the table in the provided image, focusing on the first
|
57 |
|
58 |
Return the response in the following JSON response format:
|
59 |
{
|
|
|
53 |
error_pages.append(page_identifier)
|
54 |
return []
|
55 |
|
56 |
+
prompt = """Perform OCR on this image. Analyze the table in the provided image, focusing on the first seven columns labeled S.No, Admission No.,Date of Admission,Name of Student,Father's Name,Date of Birth and Telephone No. . Get the Telephone No. from the last column ignore office and residence column under it and write themI don't want any mistakes in the obtained data. In case the table headers are not visible or not present, assume the mentioned order for the columns. Extract and list the data only from these columns, omitting any additional columns that may be present. But DO NOT skip any row from the table, extract all the rows present in the table. Verify both for better ocr in integers.
|
57 |
|
58 |
Return the response in the following JSON response format:
|
59 |
{
|