mirror of
https://github.com/BoardWare-Genius/jarvis-models.git
synced 2025-12-13 16:53:24 +00:00
code updated
This commit is contained in:
@ -38,4 +38,4 @@ class ASR(Blackbox):
|
||||
txt = await self.processing(d)
|
||||
except ValueError as e:
|
||||
return JSONResponse(content={"error": str(e)}, status_code=status.HTTP_400_BAD_REQUEST)
|
||||
return JSONResponse(content={"txt": txt}, status_code=status.HTTP_200_OK)
|
||||
return JSONResponse(content={"text": txt}, status_code=status.HTTP_200_OK)
|
||||
Reference in New Issue
Block a user