Skip to content

Commit 4ae6193

Browse files
fix: lint
1 parent 9b75c94 commit 4ae6193

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

unstructured/partition/utils/constants.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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

5353
UNSTRUCTURED_INCLUDE_DEBUG_METADATA = os.getenv("UNSTRUCTURED_INCLUDE_DEBUG_METADATA", False)
5454

0 commit comments

Comments
 (0)