色域结果多图保存、更换AI生图服务器接口
This commit is contained in:
@@ -40,7 +40,8 @@ _META_SUFFIX = ".json"
|
||||
_SUPPORTED_IMG_EXT = (".png", ".jpg", ".jpeg", ".bmp", ".webp")
|
||||
|
||||
# 测试环境后端
|
||||
API_BASE_URL = "http://10.201.44.70:9018/ai-agent/"
|
||||
# API_BASE_URL = "http://10.201.44.70:9018/ai-agent/"
|
||||
API_BASE_URL = "https://rd-mokadisplay.tcl.com/ai-agent/"
|
||||
API_PATH = "api/v1/pqtest/generate"
|
||||
API_TIMEOUT = 300.0 # 后端最长 60s,留余量
|
||||
|
||||
@@ -55,7 +56,7 @@ def get_session_id() -> str:
|
||||
|
||||
|
||||
def set_session_id(session_id: str) -> str:
|
||||
"""切换到指定会话。空值会抛错。"""
|
||||
"""切换到指定会话。空值会抛错"""
|
||||
global _session_id
|
||||
sid = (session_id or "").strip()
|
||||
if not sid:
|
||||
|
||||
Reference in New Issue
Block a user