Spaces:
Sleeping
Sleeping
Update Counting_Columns_2_1.py
Browse files- Counting_Columns_2_1.py +1 -1
Counting_Columns_2_1.py
CHANGED
|
@@ -183,7 +183,7 @@ def add_annotations_to_pdf(image, pdf_name, slctd_clm, columns_types_v):
|
|
| 183 |
annot.set_border(width=0.2, dashes=(1, 2)) # Optional border styling
|
| 184 |
annot.set_colors(stroke=(1, 0, 0), fill=None) # Set the stroke color to red
|
| 185 |
annot.update()
|
| 186 |
-
page.set_rotation(
|
| 187 |
return pdf_document
|
| 188 |
|
| 189 |
def mainfun(pdf_name,pdfpath,planname):
|
|
|
|
| 183 |
annot.set_border(width=0.2, dashes=(1, 2)) # Optional border styling
|
| 184 |
annot.set_colors(stroke=(1, 0, 0), fill=None) # Set the stroke color to red
|
| 185 |
annot.update()
|
| 186 |
+
page.set_rotation(90)
|
| 187 |
return pdf_document
|
| 188 |
|
| 189 |
def mainfun(pdf_name,pdfpath,planname):
|