mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-25 12:01:04 +02:00
fix: make transcript upload async
This commit is contained in:
parent
c7df119997
commit
dc30c0a8f1
1 changed files with 3 additions and 1 deletions
|
|
@ -44,7 +44,9 @@ async def _upload_legacy_temp_artifacts(
|
|||
logger.info(
|
||||
f"Processing legacy temp-file artifacts for workflow run {workflow_run_id}"
|
||||
)
|
||||
transcript_bytes = _read_and_remove_temp_file(transcript_temp_path, "transcript")
|
||||
transcript_bytes = await asyncio.to_thread(
|
||||
_read_and_remove_temp_file, transcript_temp_path, "transcript"
|
||||
)
|
||||
await upload_workflow_run_artifacts(
|
||||
workflow_run_id,
|
||||
mixed_audio_wav=await asyncio.to_thread(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue