mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-15 07:09:55 +02:00
partial revert of c606391c31
This commit is contained in:
parent
604a908ec8
commit
3f65934835
1 changed files with 4 additions and 3 deletions
|
@ -10,6 +10,7 @@ from eynollah.eynollah.eynollah import Eynollah
|
||||||
"-i",
|
"-i",
|
||||||
help="image filename",
|
help="image filename",
|
||||||
type=click.Path(exists=True, dir_okay=False),
|
type=click.Path(exists=True, dir_okay=False),
|
||||||
|
required=True,
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
"--out",
|
"--out",
|
||||||
|
@ -198,9 +199,9 @@ def main(
|
||||||
light_version=light_version,
|
light_version=light_version,
|
||||||
ignore_page_extraction=ignore_page_extraction,
|
ignore_page_extraction=ignore_page_extraction,
|
||||||
)
|
)
|
||||||
eynollah.run()
|
# eynollah.run()
|
||||||
# pcgts = eynollah.run()
|
pcgts = eynollah.run()
|
||||||
# eynollah.writer.write_pagexml(pcgts)
|
eynollah.writer.write_pagexml(pcgts)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue