Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
CallmeNafiy committed Aug 5, 2024
1 parent fc6dbc6 commit a1fb99f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions examples/test_example.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import os
import sys

from dotenv import load_dotenv

sys.path.append(".")
Expand All @@ -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)

0 comments on commit a1fb99f

Please sign in to comment.