← 输入框|github.com|刷新
Skip to content

Chore: Bump unstructured to 0.10.30 - #309

Merged
yuming-long merged 5 commits into
mainfrom
yuming/bump_unst
Nov 16, 2023
Merged

yuming-long merged 5 commits into
mainfrom
yuming/bump_unst

Conversation

@yuming-long

Copy link
Copy Markdown
Contributor

^^^
Also releasing this version since 0.10.30 include some 500 error bug fix

@awalker4 awalker4 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm!

for model_name in supported_model.split(","):
get_model(model_name=model_name)

get_model(os.environ.get("UNSTRUCTURED_HI_RES_MODEL_NAME"))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine for the quick workaround, but it seems like this initialization code should be moved within unstructured itself, out of the ingest module, maybe into its own top-level module.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah i was thinking maybe under partition dir?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that works

@yuming-long
yuming-long merged commit ab7bc82 into main Nov 16, 2023
@yuming-long
yuming-long deleted the yuming/bump_unst branch November 16, 2023 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants