Skip to content

Commit 958d11e

Browse files
authored
Merge branch 'master' into TT-543-face-gone
2 parents cf861f9 + 3b0b0b1 commit 958d11e

File tree

3 files changed

+22
-26
lines changed

3 files changed

+22
-26
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"acorn": "^7.1.0",
2828
"axios-mock-adapter": "^1.16.0",
2929
"babel-eslint": "^10.0.1",
30+
"eslint": "^4.12.1",
3031
"babelify": "^10.0.0",
3132
"del": "^2.0.2",
3233
"envify": "^3.4.0",

src/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ module.exports = global.Clarifai = {
1313
COLOR_MODEL: 'eeed0b6733a644cea07cf4c60f87ebb7',
1414
CLUSTER_MODEL: 'cccbe437d6e54e2bb911c6aa292fb072',
1515
FACE_DETECT_MODEL: 'a403429f2ddf4b49b307e318f00e528b',
16-
FOCUS_MODEL: 'c2cf7cecd8a6427da375b9f35fcd2381',
1716
LOGO_MODEL: 'c443119bf2ed4da98487520d01a0b1e3',
1817
DEMOGRAPHICS_MODEL: 'c0c0ac362b03416da06ab3fa36fb58e3',
1918
GENERAL_EMBED_MODEL: 'bbb5f41425b8468d9b7a554ff10f8581',

tests/unit/search-models-unit-tests.js

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -84,31 +84,27 @@ describe('Unit Tests - Model Search', () => {
8484
"description": "Ok",
8585
"req_id": "300ceac8704748a592da50d77ad44253"
8686
},
87-
"models": [
88-
{
89-
"id": "@modelID",
90-
"name": "color",
91-
"created_at":
92-
"2016-05-11T18:05:45.924367Z",
93-
"app_id": "main",
94-
"output_info": {
95-
"message": "Show output_info with: GET /models/{model_id}/output_info",
96-
"type": "color",
97-
"type_ext": "color"
98-
},
99-
"model_version": {
100-
"id": "@modelVersionID",
101-
"created_at": "2016-07-13T01:19:12.147644Z",
102-
"status": {
103-
"code": 21100,
104-
"description": "Model is trained and ready"
105-
},
106-
"active_concept_count": 140,
107-
"worker_id": "1fbfdd7213a04628a387730b57b5baeb"
108-
},
109-
"display_name": "Color"
110-
}
111-
]
87+
88+
"models": [{
89+
"id": "@modelID",
90+
"name": "color",
91+
"created_at": "2017-03-06T22:57:00.660603Z",
92+
"app_id": "main",
93+
"output_info": {
94+
"message": "Show output_info with: GET /models/{model_id}/output_info",
95+
"type": "blur",
96+
"type_ext": "color"
97+
},
98+
"model_version": {
99+
"id": "@modelVersionID",
100+
"created_at": "2017-03-06T22:57:00.684652Z",
101+
"status": {
102+
"code": 21100,
103+
"description": "Model trained successfully"
104+
}
105+
},
106+
"display_name": "Color"
107+
}]
112108
}
113109
`));
114110

0 commit comments

Comments
 (0)