mutarisi commited on
Commit
bc34ce0
·
1 Parent(s): da66d9c

fixing the sentence expect

Browse files
Files changed (1) hide show
  1. apiRoutes.py +1 -1
apiRoutes.py CHANGED
@@ -68,4 +68,4 @@ async def sign_sentence(data: dict):
68
 
69
  # Call the imported function directly
70
  result = translateGloss(gloss_input)
71
- return JSONResponse(content=result)
 
68
 
69
  # Call the imported function directly
70
  result = translateGloss(gloss_input)
71
+ return JSONResponse(content={"translation": result})