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 default user-agent to huggingface-cli #1664

Merged
merged 1 commit into from
Sep 14, 2023
Merged

Conversation

Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Sep 13, 2023

This PR sets library_name="huggingface-cli" in the upload CLI command (similar to the download command). The goal is to be able to track usage of CLI vs script to upload files.

@Wauplin Wauplin requested a review from LysandreJik September 13, 2023 10:11
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Sep 13, 2023

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

Copy link
Member

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

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

Sounds good to me!

@Wauplin
Copy link
Contributor Author

Wauplin commented Sep 14, 2023

Thanks for the review! :)

@Wauplin Wauplin merged commit b3d4594 into main Sep 14, 2023
@Wauplin Wauplin deleted the add-user-agent-to-upload-cli branch September 14, 2023 06:58
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.

3 participants