Commit b418ccbe by lei

1

parent 6a48d00f
......@@ -215,7 +215,8 @@ class ToWork:
'task_id': task['task_id'],
'prompt_id': task['prompt_id'],
}
res = req.post(url, data=params)
res = req.post(url, data=params).json()
logger.info(res.text)
except Exception as e:
logger.error(e)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment