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

Add regression test for empty modelcard update #1060

Merged
merged 3 commits into from
Sep 20, 2022

Conversation

Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Sep 16, 2022

Fix #1010.

The issue seems to have been solved by @nateraw changes (#940). I added a regression test just in case in the future.

(cc @cakiki)

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Sep 16, 2022

The documentation is not available anymore as the PR was closed or merged.

Copy link
Contributor

@nateraw nateraw left a comment

Choose a reason for hiding this comment

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

Awesome! Thanks for adding this test. Probably good to go (I thought there was conflict originally, but looks like my GH UI wasn't updating haha).

tests/test_repocard.py Show resolved Hide resolved
@Wauplin
Copy link
Contributor Author

Wauplin commented Sep 20, 2022

Thanks @nateraw for review. I'm merging :)

@Wauplin Wauplin merged commit 15d0f5d into main Sep 20, 2022
@Wauplin Wauplin deleted the 1010-fix-metadata-update-on-empty-model-card branch September 20, 2022 13:31
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.

metadata_update fails when README.md has no text content (but it has metadata)
3 participants