first cimmit
This commit is contained in:
@@ -17,7 +17,10 @@ class Settings(BaseSettings):
|
||||
extra='ignore' # 忽略环境变量中多余的键
|
||||
)
|
||||
# 启动端口
|
||||
SERVE_PROD: int = Field(default=8000, description='')
|
||||
SERVE_PORT: int = Field(default=10090, description='')
|
||||
|
||||
FLUX2_KLEIN_MODEL_PATH: str = Field(default="/models", description='')
|
||||
|
||||
# 调试配饰
|
||||
LOCAL: int = Field(default=0, description="是否在本地运行,1表示本地运行,0表示生产环境运行")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user