Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
fbdc6af
build(deps): version bumps for maintenance (#424)
christinestraub Jun 14, 2024
2bdd52a
build: replace rockylinux with chainguard/wolfi as a base image (#423)
christinestraub Jun 17, 2024
e8c6fa9
fix: build and push workflow failing due to missing `-f` option `buil…
micmarty-deepsense Jun 20, 2024
80a6627
fix: update SHA for the base images (both architectures) after `base-…
micmarty-deepsense Jun 21, 2024
d3564b6
fix: revert to rockylinux SHA that works (arm64) (#428)
micmarty-deepsense Jun 21, 2024
5b604b2
fix: re-add `DOCKER_IMAGE` env var in `Test image` step (#429)
micmarty-deepsense Jun 21, 2024
2f482e8
fix: invalid env var setting in `docker-publish` workflow (#430)
micmarty-deepsense Jun 21, 2024
d7acffe
fix: `docker-publish` workflow failing on main due to inexisting `ARC…
micmarty-deepsense Jun 21, 2024
d5a878f
build(deps): bump dependency versions (#434)
MthwRobinson Jun 24, 2024
6710df0
fix/Fix MS Office filetype errors and harden docker smoketest (#436)
awalker4 Jun 28, 2024
8ecc097
Merge branch 'main' of https://github.com/EmbeddedLLM/unstructured-ap…
tjtanaa Jul 9, 2024
5cb0857
Merge branch 'main' into merge-main-tj
tjtanaa Jul 9, 2024
53a22e9
merge main; validated format: xml, txv, csv, xml, json, html, docs, d…
tjtanaa Jul 9, 2024
7632778
compilable setting
tjtanaa Jul 11, 2024
6872590
update Windows markdown
tjtanaa Jul 11, 2024
a96ee8c
fix libreoffice dll import
tjtanaa Jul 11, 2024
69acb36
Merge branch 'v0.0.72-win' into libreoffice-fix-tj
tjtanaa Jul 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions unstructuredio_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
bundle_dir = os.path.dirname(os.path.abspath(__file__))
os.environ['PATH'] = os.path.join(bundle_dir, 'tesseract') + os.pathsep + os.environ['PATH']
os.environ['PATH'] = os.path.join(bundle_dir, 'poppler', 'bin') + os.pathsep + os.environ['PATH']
os.environ['PATH'] = os.path.join(bundle_dir, 'pandoc') + os.pathsep + os.environ['PATH']
os.environ['PATH'] = os.path.join(bundle_dir, 'libreoffice', 'program') + os.pathsep + os.environ['PATH']
os.environ['PATH'] = os.path.join(bundle_dir, 'libreoffice') + os.pathsep + os.environ['PATH']

from pydantic_settings import BaseSettings, SettingsConfigDict
from prepline_general.api.app import app
Expand Down
4 changes: 2 additions & 2 deletions unstructuredio_api.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import unstructured
from PyInstaller.utils.hooks import collect_all, collect_data_files, collect_dynamic_libs

binaries_list = [
('C:\\Program Files\\LibreOffice\\program', 'libreoffice'), # modify this to point to where the LibreOffice is installed
('C:\\Program Files\\LibreOffice', 'libreoffice'), # modify this to point to where the LibreOffice is installed
('C:\\path\\to\\poppler-24.02.0\\Library\\bin', 'poppler/bin'), # modify this to point to where the poppler is installed
('C:\\Program Files\\Tesseract-OCR', 'tesseract'), # modify this to point to where the tesseract is installed
('C:\\Users\\ryzz\\AppData\\Local\\Pandoc', 'pandoc'), # modify this to point to where the pandoc is installed
('C:\\path\\to\\Pandoc', 'pandoc'), # modify this to point to where the pandoc is installed
(Path('sqlite-dll-win-x64-3460000/sqlite3.dll').as_posix(), '.'), # modify this to point to where you unzip the sqlite3.dll
(Path('sqlite-dll-win-x64-3460000/sqlite3.def').as_posix(), '.'), # modify this to point to where you unzip the sqlite3.def

Expand Down