Skip to content

Conversation

@hbredin
Copy link
Member

@hbredin hbredin commented Nov 29, 2025

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a --revision option to the download, apply, and benchmark CLI commands, allowing users to specify which revision of a pretrained pipeline to use from HuggingFace Hub. The changes also improve parameter handling by making token and cache optional where appropriate.

Key changes:

  • Added --revision option to download, apply, and benchmark commands
  • Made token and cache parameters optional (changed from required to Optional[...] with None defaults)
  • Cleaned up formatting inconsistencies (whitespace removal, inline comments alignment)

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/pyannote/audio/main.py Added --revision parameter to three CLI commands (download, apply, benchmark), made token and cache optional, reordered parameters for consistency, and cleaned up formatting/whitespace
CHANGELOG.md Documented the new feature in the changelog

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hbredin hbredin merged commit 2941364 into develop Dec 4, 2025
12 checks passed
@hbredin hbredin deleted the feat/cli-revision-option branch December 4, 2025 08:35
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