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

Hotfix: update huggingface_hub dependency version #6704

Merged
merged 7 commits into from Dec 7, 2023

Conversation

abidlabs
Copy link
Member

@abidlabs abidlabs commented Dec 7, 2023

As part of #6616, some of the backend tests now need a valid hf token to run. These can be specified via the HF_TOKEN environment variable, or by logging in via the hf-cli. In the GitHub CI runners, we use the HF_TOKEN variable, so we use the former approach. However, this requires huggingface_hub>=0.19.3 since in previous versions, the huggingface_hub library looked for a different environment variable called HUGGING_FACE_HUB_TOKEN

@gradio-pr-bot
Copy link
Contributor

gradio-pr-bot commented Dec 7, 2023

🪼 branch checks and previews

Name Status URL
Spaces ready! Spaces preview
Website ready! Website preview
🦄 Changes detected! Details

Install Gradio from this PR

pip install https://gradio-builds.s3.amazonaws.com/ea454e5f508dac9072d86006c7b60294d80256ea/gradio-4.8.0-py3-none-any.whl

Install Gradio Python Client from this PR

pip install "gradio-client @ git+https://github.com/gradio-app/gradio@ea454e5f508dac9072d86006c7b60294d80256ea#subdirectory=client/python"

@gradio-pr-bot
Copy link
Contributor

gradio-pr-bot commented Dec 7, 2023

🦄 change detected

This Pull Request includes changes to the following packages.

Package Version
gradio patch
gradio_client patch
  • Maintainers can select this checkbox to manually select packages to update.

With the following changelog entry.

Hotfix: update huggingface_hub dependency version

Maintainers or the PR author can modify the PR title to modify this entry.

Something isn't right?

  • Maintainers can change the version label to modify the version bump.
  • If the bot has failed to detect any changes, or if this pull request needs to update multiple packages to different versions or requires a more comprehensive changelog entry, maintainers can update the changelog file directly.

@abidlabs abidlabs merged commit 24e0481 into main Dec 7, 2023
15 checks passed
@abidlabs abidlabs deleted the huggingface-hub-upgrade branch December 7, 2023 23:07
@pngwn pngwn mentioned this pull request Dec 7, 2023
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.

None yet

2 participants