Skip to content

Commit 1af0e94

Browse files
committed
modify git ingore
1 parent 21aaf6f commit 1af0e94

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,4 @@ dmypy.json
139139

140140
*.ini
141141

142-
multicache_serving.py
142+
**/multicache_serving.py

multicache_serving.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -263,15 +263,15 @@ def __health_check__(self):
263263
# r1 = json.dumps(data_dict)
264264

265265
# ============02
266-
# request_type = 'query'
267-
# UUID = str(uuid.uuid1()) + "==>" + str(time.time())
268-
# scope = {"model": "test_0313"}
269-
# img_data = 'http://resarch.oss-cn-hangzhou-zmf.aliyuncs.com/transFile%2Ftmp%2FLMM_test_image_coco%2FCOCO_train2014_000000332345.jpg'
270-
# query = {'text': ['父母带着孩子来这个地方可能会有什么顾虑'],
271-
# 'imageRaw': '',
272-
# 'imageUrl': img_data,
273-
# 'multiType': 'IMG_TEXT'}
274-
# r1 = json.dumps({'request_type': request_type, 'scope': scope, 'query': query, 'UUID': UUID})
266+
request_type = 'query'
267+
UUID = str(uuid.uuid1()) + "==>" + str(time.time())
268+
scope = {"model": "test_0313"}
269+
img_data = 'http://resarch.oss-cn-hangzhou-zmf.aliyuncs.com/transFile%2Ftmp%2FLMM_test_image_coco%2FCOCO_train2014_000000332345.jpg'
270+
query = {'text': ['父母带着孩子来这个地方可能会有什么顾虑'],
271+
'imageRaw': '',
272+
'imageUrl': img_data,
273+
'multiType': 'IMG_TEXT'}
274+
r1 = json.dumps({'request_type': request_type, 'scope': scope, 'query': query, 'UUID': UUID})
275275

276276
# ============03
277277
# request_type = 'remove'

0 commit comments

Comments
 (0)