chore: Remove stray import (#5097)

This commit is contained in:
ZanSara 2023-06-07 18:07:27 +02:00 committed by GitHub
parent e3b069620b
commit 5022abb546
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1 @@
from haystack.utils.import_utils import safe_import
from haystack.nodes.audio.whisper_transcriber import WhisperTranscriber, WhisperModel
AnswerToSpeech = safe_import(
"haystack.nodes.audio.answer_to_speech", "AnswerToSpeech", "audio"
) # Has optional dependencies
DocumentToSpeech = safe_import(
"haystack.nodes.audio.document_to_speech", "DocumentToSpeech", "audio"
) # Has optional dependencies