Skip to content

Commit

Permalink
Expose ImageFeatureExtractor as copy of ImageProcessor
Browse files Browse the repository at this point in the history
  • Loading branch information
xenova committed Nov 14, 2024
1 parent 29097c0 commit 76f8c33
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/models/feature_extractors.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ export * from './speecht5/feature_extraction_speecht5.js';
export * from './wav2vec2/feature_extraction_wav2vec2.js';
export * from './wespeaker/feature_extraction_wespeaker.js';
export * from './whisper/feature_extraction_whisper.js';

// For legacy support, ImageFeatureExtractor is an alias for ImageProcessor
export { ImageProcessor as ImageFeatureExtractor } from "../base/image_processors_utils.js";

0 comments on commit 76f8c33

Please sign in to comment.