File tree Expand file tree Collapse file tree
unstructured/partition/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,13 +42,13 @@ class PartitionStrategy:
4242).split ("," )
4343
4444# Speech-to-text agent (used by partition_audio)
45- STT_AGENT_WHISPER = "unstructured.partition.utils.speech_to_text.whisper_stt.SpeechToTextAgentWhisper"
46- STT_AGENT_MODULES_WHITELIST = (
47- os .getenv (
48- "STT_AGENT_MODULES_WHITELIST" ,
49- "unstructured.partition.utils.speech_to_text.whisper_stt" ,
50- ).split ("," )
45+ STT_AGENT_WHISPER = (
46+ "unstructured.partition.utils.speech_to_text.whisper_stt.SpeechToTextAgentWhisper"
5147)
48+ STT_AGENT_MODULES_WHITELIST = os .getenv (
49+ "STT_AGENT_MODULES_WHITELIST" ,
50+ "unstructured.partition.utils.speech_to_text.whisper_stt" ,
51+ ).split ("," )
5252
5353UNSTRUCTURED_INCLUDE_DEBUG_METADATA = os .getenv ("UNSTRUCTURED_INCLUDE_DEBUG_METADATA" , False )
5454
You can’t perform that action at this time.
0 commit comments