|
@@ -164,11 +164,11 @@ def predict():
|
|
|
redis_helper.add_data_with_zset(key_name=key_name, data=redis_data)
|
|
|
log_.info('data to redis finished!')
|
|
|
# 通知后端更新数据
|
|
|
- result = request_post(request_url=config_.NOTIFY_BACKEND_UPDATE_ROV_SCORE_URL, request_data={'videos': json_data})
|
|
|
- if result['code'] == 0:
|
|
|
- log_.info('notify backend success!')
|
|
|
- else:
|
|
|
- log_.error('notify backend fail!')
|
|
|
+ # result = request_post(request_url=config_.NOTIFY_BACKEND_UPDATE_ROV_SCORE_URL, request_data={'videos': json_data})
|
|
|
+ # if result['code'] == 0:
|
|
|
+ # log_.info('notify backend success!')
|
|
|
+ # else:
|
|
|
+ # log_.error('notify backend fail!')
|
|
|
|
|
|
|
|
|
def predict_test():
|