diff --git a/examples/convert.py b/examples/convert.py index 8f272dfe..5b11a83e 100644 --- a/examples/convert.py +++ b/examples/convert.py @@ -151,12 +151,15 @@ if __name__ == "__main__": parser = argparse.ArgumentParser(description="Process PDF files with optional OCR.") # Add arguments - parser.add_argument("--pdf", type=str, help="Path to the PDF file.") + parser.add_argument("--pdf", + type=str, + default="./tests/data/2206.01062.pdf", + help="Path to the PDF file.") parser.add_argument( - "--ocr", type=bool, default=False, help="Enable OCR (True or False)." + "--ocr", type=bool, + default=False, + help="Enable OCR (True or False)." ) - - # Add the backend option as an enum parser.add_argument( "--backend", type=lambda b: Backend[b.upper()],