Skip to content

Fix several imports #7712

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

Merged
merged 3 commits into from
May 9, 2024
Merged

Fix several imports #7712

merged 3 commits into from
May 9, 2024

Conversation

tolgacangoz
Copy link
Contributor

@tolgacangoz tolgacangoz commented Apr 18, 2024

This pull request fixes several imports in the codebase. Specifically, it removes unnecessary StableDiffusionSafetyChecker import and updates the import path for dummy_pt_objects.
@sayakpaul @yiyixuxu @DN6

@tolgacangoz tolgacangoz changed the title Fix imports Fix several imports Apr 18, 2024
@sayakpaul
Copy link
Member

Specifically, it removes unnecessary StableDiffusionSafetyChecker import

Why is it an unnecessary import?

@tolgacangoz
Copy link
Contributor Author

tolgacangoz commented Apr 19, 2024

Ah sorry, I didn't even explain 😿. Because static code checkers saw that StableDiffusionSafetyChecker is imported from its file as well. And, I thought it was unnecessary.

Copy link
Collaborator

@yiyixuxu yiyixuxu left a comment

Choose a reason for hiding this comment

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

thanks!

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@sayakpaul sayakpaul merged commit caf9e98 into huggingface:main May 9, 2024
15 checks passed
@tolgacangoz
Copy link
Contributor Author

Thanks for merging!

@tolgacangoz tolgacangoz deleted the fix-imports branch May 9, 2024 06:39
sayakpaul pushed a commit that referenced this pull request Dec 23, 2024
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.

4 participants