mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-20 15:20:39 -07:00
fix: make transcript refinement language-aware
This commit is contained in:
@@ -222,6 +222,8 @@ async def retranscribe_capture_endpoint(
|
||||
)
|
||||
except FileNotFoundError as e:
|
||||
raise HTTPException(status_code=410, detail=str(e))
|
||||
except ValueError as e:
|
||||
raise HTTPException(status_code=400, detail=str(e))
|
||||
except Exception as e:
|
||||
logger.exception("Retranscribe failed for capture %s", capture_id)
|
||||
raise HTTPException(status_code=500, detail=str(e))
|
||||
|
||||
Reference in New Issue
Block a user