diff --git a/app/service/brand_dna/service.py b/app/service/brand_dna/service.py index fd35c19..393d75a 100644 --- a/app/service/brand_dna/service.py +++ b/app/service/brand_dna/service.py @@ -11,7 +11,7 @@ from minio import Minio from app.core.config import MINIO_URL, MINIO_ACCESS, MINIO_SECRET, MINIO_SECURE, DESIGN_MODEL_URL, CATEGORY_PATH from app.schemas.brand_dna import BrandDnaModel -from app.service.attribute.config import local_debug_const +from app.service.attribute.config import local_debug_const, const from app.service.utils.generate_uuid import generate_uuid from app.service.utils.new_oss_client import oss_upload_image, oss_get_image @@ -29,8 +29,8 @@ class BrandDna: # self.attr_type = pd.read_csv(r"E:\workspace\trinity_client_aida\app\service\attribute\config\descriptor\category\category_dis.csv") self.att_client = httpclient.InferenceServerClient(url=DESIGN_MODEL_URL) self.seg_client = httpclient.InferenceServerClient(url='10.1.1.243:30000') - # self.const = const - self.const = local_debug_const + self.const = const + # self.const = local_debug_const # 获取结果 def get_result(self):