Picture using minio service

This commit is contained in:
zhouchengrong
2024-03-18 14:17:43 +08:00
parent 26c328b1e4
commit 2f89e7432f
116 changed files with 10294 additions and 254 deletions

6
app/schemas/attribute.py Normal file
View File

@@ -0,0 +1,6 @@
from pydantic import BaseModel
class AttributeModel(BaseModel):
upload_img_path: list
upload_img_id: list

View File

@@ -0,0 +1,15 @@
from pydantic import BaseModel
class OMDataItem(BaseModel):
item_name: str
semantic_category: str
image_path: str
class OutfitMatcher(BaseModel):
topk: int
max_outfits: int
is_best: bool
query: list[OMDataItem]
database: list[OMDataItem]

View File

@@ -1,5 +0,0 @@
from pydantic import BaseModel
class OutfitMatcher(BaseModel):
pass