Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: rolling slack invite link in chipper logger info #277

Merged
merged 2 commits into from
Nov 3, 2023
Merged
Changes from 1 commit
Commits
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
Next Next commit
update link
yuming-long committed Nov 3, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 307e678bb812380e2e232d8a0719b36dd635fbdf
3 changes: 1 addition & 2 deletions unstructured_inference/models/base.py
Original file line number Diff line number Diff line change
@@ -59,8 +59,7 @@ def get_model(model_name: Optional[str] = None, **kwargs) -> UnstructuredModel:
"You can reach out to the Unstructured engineering team in the Unstructured "
"community Slack if you have any feedback on the Chipper model. "
"You can join the community Slack here: "
"https://join.slack.com/t/unstructuredw-kbe4326/shared_invite/"
"zt-1x7cgo0pg-PTptXWylzPQF9xZolzCnwQ",
"https://short.unstructured.io/pzw05l7",
)
model = UnstructuredChipperModel()
initialize_params = {**CHIPPER_MODEL_TYPES[model_name], **kwargs}
2 changes: 1 addition & 1 deletion unstructured_inference/models/tables.py
Original file line number Diff line number Diff line change
@@ -163,7 +163,7 @@ def get_structure(
"""get the table structure as a dictionary contaning different types of elements as
key-value pairs; check table-transformer documentation for more information"""
with torch.no_grad():
logger.info(f"padding image by {pad_for_structure_detection} for structufre detection")
logger.info(f"padding image by {pad_for_structure_detection} for structure detection")
encoding = self.feature_extractor(
pad_image_with_background_color(x, pad_for_structure_detection),
return_tensors="pt",