mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
refac: voice input styling
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user