Spaces:
Sleeping
Sleeping
update app.py
Browse fileschanged instruction
app.py
CHANGED
@@ -180,8 +180,9 @@ colums: (POSITION, DESCRIPTION, N PIECES, MATERIAL (like SA 516 Gr.70N or SA 105
|
|
180 |
Ignore title blocks, revision notes, drawing numbers, and general annotations outside the "BILL OF METERIAL".
|
181 |
If a page contains multiple tables, extract only those explicitly related to BILL OF METERIAL.
|
182 |
|
183 |
-
Preserve the row and column structure as
|
184 |
-
Do not include any surrounding decorative lines or borders—only
|
|
|
185 |
output format: markdown table format with following columns (POSITION, DESCRIPTION, N PIECES, MATERIAL, DIMENSIONS(like 1700 I.D. X 2045H 50 THK.) and WT.Kgs)"""
|
186 |
|
187 |
def extract_table_from_file(file):
|
|
|
180 |
Ignore title blocks, revision notes, drawing numbers, and general annotations outside the "BILL OF METERIAL".
|
181 |
If a page contains multiple tables, extract only those explicitly related to BILL OF METERIAL.
|
182 |
|
183 |
+
Preserve the row and column's order and structure as it is!
|
184 |
+
Do not include any surrounding decorative lines or borders—only.
|
185 |
+
give clean tabular data.
|
186 |
output format: markdown table format with following columns (POSITION, DESCRIPTION, N PIECES, MATERIAL, DIMENSIONS(like 1700 I.D. X 2045H 50 THK.) and WT.Kgs)"""
|
187 |
|
188 |
def extract_table_from_file(file):
|