diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 187b75c..fd8abb7 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -30,7 +30,7 @@ - + @@ -43,13 +43,14 @@ - + + @@ -61,7 +62,7 @@ - + @@ -70,10 +71,13 @@ - + - - + + + + + @@ -87,6 +91,19 @@ + + + + + + + + + + + + + @@ -183,7 +200,7 @@ - + @@ -228,12 +245,12 @@ - + - @@ -244,10 +261,10 @@ - + - + @@ -377,17 +394,6 @@ - - - - - - - - - - - @@ -395,10 +401,24 @@ - + - - + + + + + + + + + + + + + + + + diff --git a/serve.py b/serve.py index 02c18ad..e5862ff 100644 --- a/serve.py +++ b/serve.py @@ -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)