From a1fb99f7035b21f643f990a7b53593f656d0c322 Mon Sep 17 00:00:00 2001 From: Yifan Zhang Date: Mon, 5 Aug 2024 07:21:48 -0700 Subject: [PATCH] lint --- examples/test_example.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/examples/test_example.py b/examples/test_example.py index 3a40fee..14ba4e4 100755 --- a/examples/test_example.py +++ b/examples/test_example.py @@ -1,6 +1,5 @@ import os import sys - from dotenv import load_dotenv sys.path.append(".") @@ -14,13 +13,11 @@ load_dotenv() example_apikey = os.getenv("CAMBIO_API_KEY") - example_local_file = "./sample_data/test2.pdf" - op = AnyParser(example_apikey) + any_parser_instance = AnyParser(example_apikey) print("file/document extraction test:") - content_result = op.extract(example_local_file) + content_result = any_parser_instance.extract(example_local_file) print(type(content_result)) - print(content_result) - + print(content_result) \ No newline at end of file