mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-28 07:29:06 +00:00
Update canals to 0.5.0 (#5564)
* Update canals to 0.5.0 * Fix RemoteWhisperTranscriber serialisation
This commit is contained in:
parent
c26f1e9426
commit
bb7af3827d
@ -54,6 +54,12 @@ class RemoteWhisperTranscriber:
|
||||
self.whisper_params = whisper_params or {}
|
||||
|
||||
self.model_name = model_name
|
||||
self.init_parameters = {
|
||||
"api_key": self.api_key,
|
||||
"model_name": self.model_name,
|
||||
"api_base": self.api_base,
|
||||
"whisper_params": self.whisper_params,
|
||||
}
|
||||
|
||||
@component.output_types(documents=List[Document])
|
||||
def run(self, audio_files: List[Path], whisper_params: Optional[Dict[str, Any]] = None):
|
||||
|
||||
@ -80,7 +80,7 @@ dependencies = [
|
||||
"jsonschema",
|
||||
|
||||
# Preview
|
||||
"canals==0.4.0",
|
||||
"canals==0.5.0",
|
||||
|
||||
# Agent events
|
||||
"events",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user