model public
This commit is contained in:
@@ -30,7 +30,7 @@ type Model struct {
|
|||||||
TriggerWords string `json:"trigger_words"` // 觸發詞
|
TriggerWords string `json:"trigger_words"` // 觸發詞
|
||||||
BaseModel string `json:"base_model"` // 基礎模型(SD1.5|SD2)
|
BaseModel string `json:"base_model"` // 基礎模型(SD1.5|SD2)
|
||||||
ModelPath string `json:"model_path"` // 模型路徑(實際存放在服務器上的路徑)
|
ModelPath string `json:"model_path"` // 模型路徑(實際存放在服務器上的路徑)
|
||||||
Status string `json:"status" default:"initial"` // (initial|ready|waiting|running|success|error)
|
Status string `json:"status" default:"initial"` // (initial|ready|waiting|running|success|error|public)
|
||||||
Progress int `json:"progress"` // (0-100)
|
Progress int `json:"progress"` // (0-100)
|
||||||
Preview string `json:"preview"` // 模型預覽圖片
|
Preview string `json:"preview"` // 模型預覽圖片
|
||||||
Hash string `json:"hash"` // 模型哈希值(sha256)
|
Hash string `json:"hash"` // 模型哈希值(sha256)
|
||||||
|
Reference in New Issue
Block a user