mistocr 0.1.2__tar.gz → 0.1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mistocr
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Simple batch OCR for PDFs using Mistral's state-of-the-art vision model
5
5
  Home-page: https://github.com/franckalbinet/mistocr
6
6
  Author: Solveit
@@ -0,0 +1 @@
1
+ __version__ = "0.1.3"
@@ -89,7 +89,7 @@ def mk_fixes_lut(
89
89
  api_key: str=os.getenv('ANTHROPIC_API_KEY') # API key
90
90
  ) -> dict[str, str]: # Dictionary of old → new heading
91
91
  "Make a lookup table of fixes"
92
- fixes = fix_hdg_hierarchy(hdgs, model, api_key)
92
+ fixes = fix_hdg_hierarchy(hdgs, model=model, api_key=api_key)
93
93
  return {hdgs[int(k)]:v for k,v in fixes.items()}
94
94
 
95
95
  # %% ../nbs/01_refine.ipynb 22
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mistocr
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Simple batch OCR for PDFs using Mistral's state-of-the-art vision model
5
5
  Home-page: https://github.com/franckalbinet/mistocr
6
6
  Author: Solveit
@@ -1,7 +1,7 @@
1
1
  [DEFAULT]
2
2
  repo = mistocr
3
3
  lib_name = mistocr
4
- version = 0.1.2
4
+ version = 0.1.3
5
5
  min_python = 3.9
6
6
  license = apache2
7
7
  black_formatting = False
@@ -1 +0,0 @@
1
- __version__ = "0.1.2"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes