搭配服务修改
This commit is contained in:
@@ -33,17 +33,19 @@ OM_TRITON_PORT = "10010"
|
||||
ATT_TRITON_IP = "10.1.1.240"
|
||||
ATT_TRITON_PORT = "10020"
|
||||
|
||||
# service env
|
||||
LOGS_PATH = "app/logs/errors.log"
|
||||
FASHION_CATEGORIES = "app/service/outfit_matcher/config/fashion_categories.json"
|
||||
FASHION_CATEGORIES_MAPPING = "app/service/outfit_matcher/config/fashion_category_mapping.json"
|
||||
DEBUG = 1
|
||||
# service env : 1
|
||||
# pycharm debug : 2
|
||||
|
||||
# pycharm debug
|
||||
# LOGS_PATH = "logs/errors.log"
|
||||
# FASHION_CATEGORIES = "service/outfit_matcher/config/fashion_categories.json"
|
||||
# FASHION_CATEGORIES_MAPPING = "service/outfit_matcher/config/fashion_category_mapping.json"
|
||||
|
||||
|
||||
# LOGS_PATH = "app/logs/errors.log"
|
||||
# FASHION_CATEGORIES = "./config/fashion_categories.json"
|
||||
# FASHION_CATEGORIES_MAPPING = "./config/fashion_category_mapping.json"
|
||||
if DEBUG == 1:
|
||||
LOGS_PATH = "app/logs/errors.log"
|
||||
FASHION_CATEGORIES = "app/service/outfit_matcher/config/fashion_categories.json"
|
||||
FASHION_CATEGORIES_MAPPING = "app/service/outfit_matcher/config/fashion_category_mapping.json"
|
||||
elif DEBUG == 2:
|
||||
LOGS_PATH = "logs/errors.log"
|
||||
FASHION_CATEGORIES = "service/outfit_matcher/config/fashion_categories.json"
|
||||
FASHION_CATEGORIES_MAPPING = "service/outfit_matcher/config/fashion_category_mapping.json"
|
||||
elif DEBUG == 3:
|
||||
LOGS_PATH = "app/logs/errors.log"
|
||||
FASHION_CATEGORIES = "./config/fashion_categories.json"
|
||||
FASHION_CATEGORIES_MAPPING = "./config/fashion_category_mapping.json"
|
||||
|
||||
Reference in New Issue
Block a user