Skip to content

Conversation

@AmirHussein96
Copy link
Contributor

This is a pull request for:

@AmirHussein96
Copy link
Contributor Author

@desh2608 @pzelasko This PR is ready to be reviewed.

# Case 3: anything else
else v
)
)
Copy link
Collaborator

Choose a reason for hiding this comment

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

This code shouldn't be reformatted, it's possible you're using a different version of black. Please revert all formatting changes.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Also please move global imports of optional dependencies like bs4 to local imports instead, the CI is failing on trying to import them.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'll continue to review once this is done (too many changes atm)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @pzelasko , I have addressed your comments.

"supervisions": default_collate(
[
{
"text": supervision.text,
Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe we can just add ”language”: supervision.language, in the line below and always return it to get rid of the extra option and code duplication.

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.

2 participants