nhathuy07 commited on
Commit
85e9082
·
verified ·
1 Parent(s): a6272d6

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -281,7 +281,7 @@ async def __query_ml_predict(qtype: QType, content: str, header: str, token_limi
281
  print(time() - stopwatch)
282
  if _r.status_code != 200:
283
  app_logger.info(_r.json())
284
- return {"content": "", "style": None "success": False}
285
 
286
  try:
287
  return {"content": _r.json()['choices'][0]['message']['content'], "style": QType.WH, "success": True}
 
281
  print(time() - stopwatch)
282
  if _r.status_code != 200:
283
  app_logger.info(_r.json())
284
+ return {"content": "", "style": None, "success": False}
285
 
286
  try:
287
  return {"content": _r.json()['choices'][0]['message']['content'], "style": QType.WH, "success": True}