getomni-ai / zerox

PDF to Markdown with vision models
https://getomni.ai/ocr-demo
MIT License
6.68k stars 363 forks source link

Update README.md #41

Open RGBmaia opened 2 months ago

RGBmaia commented 2 months ago

correct import

pradhyumna85 commented 2 months ago

@RGBmaia, The import should "from pyzerox" (different from the js sdk) as we recently update the package name in our the last release on pypi: https://github.com/getomni-ai/zerox/releases/tag/v0.1.0 The package source - "zerox" folder was renamed to pyzerox, so the imports are correct: https://github.com/getomni-ai/zerox/tree/eaf13b2daab7e88e2c8648c1d9bc2a2e7d47b938/py_zerox

@RGBmaia, are you facing issues in importing package?

pradhyumna85 commented 2 months ago

@tylermaran , I found out the issue, the package hosted in pypi is still the older 0.0.3 version and that version used the older import name, could you push the latest releases to pypi?

@RGBmaia, for now you can uninstall pyzerox and reinstall the latest version via the git repo using pip install git+https://github.com/getomni-ai/zerox.git

@tylermaran, I think we can close the issue.