1
0
mirror of https://github.com/newnius/YAO-optimizer.git synced 2025-12-15 17:06:44 +00:00
This commit is contained in:
2020-06-25 10:10:46 +08:00
parent bf46dae01e
commit 3ccc32945c
2 changed files with 46 additions and 26 deletions

View File

@@ -131,7 +131,7 @@ class MyHandler(BaseHTTPRequestHandler):
if not success:
msg = {'code': 2, 'error': "Job " + job + " not exist"}
else:
msg = {'code': 0, 'error': "", "labels": json.dumps(pred)}
msg = {'code': 0, 'error': "", "labels": pred}
except Exception as e:
track = traceback.format_exc()
print(track)