mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-09 20:29:55 +02:00
avoid indentation
This commit is contained in:
parent
9f12fa241d
commit
5b82320707
1 changed files with 450 additions and 449 deletions
|
@ -4926,9 +4926,10 @@ class Eynollah:
|
|||
|
||||
if self.dir_in:
|
||||
self.writer.write_pagexml(pcgts)
|
||||
continue
|
||||
else:
|
||||
return pcgts
|
||||
else:
|
||||
|
||||
img_res, is_image_enhanced, num_col_classifier, num_column_is_classified = self.run_enhancement(self.light_version)
|
||||
self.logger.info("Enhancing took %.1fs ", time.time() - t0)
|
||||
#print("text region early -1 in %.1fs", time.time() - t0)
|
||||
|
@ -5415,7 +5416,7 @@ class Eynollah:
|
|||
if self.dir_in:
|
||||
self.writer.write_pagexml(pcgts)
|
||||
#self.logger.info("Job done in %.1fs", time.time() - t0)
|
||||
print("Job done in %.1fs", time.time() - t0)
|
||||
print("Job done in %.1fs" % time.time() - t0)
|
||||
|
||||
if self.dir_in:
|
||||
self.logger.info("All jobs done in %.1fs", time.time() - t0_tot)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue