Spaces:
Sleeping
Sleeping
Update babeldoc/detailed_logger.py
Browse files
babeldoc/detailed_logger.py
CHANGED
|
@@ -145,7 +145,7 @@ class DetailedLogger:
|
|
| 145 |
return
|
| 146 |
|
| 147 |
self.log_file.write(f"\n Paragraph:\n")
|
| 148 |
-
self.log_file.write(f" Text: {paragraph_data.get('text', '')[:200]}\n")
|
| 149 |
self.log_file.write(f" Layout: {paragraph_data.get('layout_label', 'N/A')}\n")
|
| 150 |
self.log_file.write(f" Bounding box: {paragraph_data.get('box', 'N/A')}\n")
|
| 151 |
self.log_file.write(f" Character count: {paragraph_data.get('char_count', 0)}\n")
|
|
|
|
| 145 |
return
|
| 146 |
|
| 147 |
self.log_file.write(f"\n Paragraph:\n")
|
| 148 |
+
# self.log_file.write(f" Text: {paragraph_data.get('text', '')[:200]}\n")
|
| 149 |
self.log_file.write(f" Layout: {paragraph_data.get('layout_label', 'N/A')}\n")
|
| 150 |
self.log_file.write(f" Bounding box: {paragraph_data.get('box', 'N/A')}\n")
|
| 151 |
self.log_file.write(f" Character count: {paragraph_data.get('char_count', 0)}\n")
|