mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-18 14:20:42 -07:00
chore(backend): sort imports in cherry-picked transcription fix
This commit is contained in:
@@ -37,8 +37,8 @@ async def transcribe_audio(
|
||||
|
||||
stt_path = tmp_path
|
||||
try:
|
||||
from ..utils.audio import load_audio, save_audio
|
||||
from ..backends import WHISPER_HF_REPOS
|
||||
from ..utils.audio import load_audio, save_audio
|
||||
|
||||
audio, sr = await asyncio.to_thread(load_audio, tmp_path)
|
||||
duration = len(audio) / sr
|
||||
|
||||
Reference in New Issue
Block a user