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