删除outfit 图片item文字信息,新增换脸模型接口。

This commit is contained in:
zhh
2025-10-27 17:46:35 +08:00
parent 366a8cac7a
commit 6415ee3153
4 changed files with 66 additions and 6 deletions

View File

@@ -4,6 +4,7 @@ import litserve as ls
from app.core.config import DEBUG, settings
from app.server.ChatbotAgent.agent_server import LCAgent
from app.server.ChatbotAgent.chatbot_server import LCChatBot
from app.server.ReFace.server import ReFace
from logging_env import LOGGER_CONFIG_DICT
logger = logging.getLogger(__name__)
@@ -24,5 +25,6 @@ if __name__ == "__main__":
logger.info(f"VECTOR_DB_DIR -> :{settings.VECTOR_DB_DIR}")
chat_boot_api = LCChatBot(enable_async=True, stream=True, api_path='/api/v1/chatbot')
agent_api = LCAgent(enable_async=True, api_path='/api/v1/agent')
server = ls.LitServer([chat_boot_api, agent_api])
reface_api = ReFace(api_path='/api/v1/reface')
server = ls.LitServer([chat_boot_api, agent_api, reface_api])
server.run(port=8000)