Skip to content

Commit

Permalink
Add AutoProcessor registration (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
petersalas authored Aug 28, 2024
1 parent 44eebcc commit 84fc928
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ultravox/model/ultravox_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,4 +205,6 @@ def model_input_names(self):
return list(set(tokenizer_input_names + audio_processor_input_names))


UltravoxProcessor.register_for_auto_class()

transformers.AutoProcessor.register(UltravoxConfig, UltravoxProcessor)

0 comments on commit 84fc928

Please sign in to comment.