refac: voice input styling

This commit is contained in:
Timothy J. Baek
2024-10-26 00:21:46 -07:00
parent 1cd036e768
commit 0cf8f58efe
8 changed files with 317 additions and 135 deletions

View File

@@ -522,7 +522,8 @@ def transcription(
else:
data = transcribe(file_path)
return data
file_path = file_path.split("/")[-1]
return {**data, "filename": file_path}
except Exception as e:
log.exception(e)
raise HTTPException(