X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=example-apps%2FROBO%2FaPaaS%2FObj_Detection_service%2Frun.py;fp=example-apps%2FROBO%2FaPaaS%2FObj_Detection_service%2Frun.py;h=0000000000000000000000000000000000000000;hb=3ed2c61d9d7e7916481650c41bfe5604f7db22e9;hp=1f140883eb760d420f3bb7c337568d182a930a43;hpb=e6d40ddb2640f434a9d7d7ed99566e5e8fa60cc1;p=ealt-edge.git diff --git a/example-apps/ROBO/aPaaS/Obj_Detection_service/run.py b/example-apps/ROBO/aPaaS/Obj_Detection_service/run.py deleted file mode 100644 index 1f14088..0000000 --- a/example-apps/ROBO/aPaaS/Obj_Detection_service/run.py +++ /dev/null @@ -1,25 +0,0 @@ -# -# Copyright 2020 Huawei Technologies Co., Ltd. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -import logging -from logging.handlers import RotatingFileHandler -from detection.obj_detection_service import start_server - -if __name__ == '__main__': - handler = RotatingFileHandler('/usr/app/log/obj_detection.log', - maxBytes=10000000, backupCount=10) - handler.setLevel(logging.INFO) - start_server(handler)