Skip to content

Commit

Permalink
Fix: added table_html variable initialization (#920)
Browse files Browse the repository at this point in the history
  • Loading branch information
effortprogrammer authored Nov 2, 2024
1 parent acd4c56 commit ab8bd24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autorag/data/parse/clova.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ async def clova_ocr_pure(
table_detection: bool = False,
) -> Tuple[str, str, int]:
session = aiohttp.ClientSession()
table_html = ""
headers = {"X-OCR-SECRET": api_key, "Content-Type": "application/json"}

# Convert image data to base64
Expand Down

0 comments on commit ab8bd24

Please sign in to comment.