對齊
This commit is contained in:
@@ -54,7 +54,7 @@ type Model struct {
|
||||
ModelPath string `json:"model_path"` // 模型路徑
|
||||
Status string `json:"status"` // (waiting|running|success|error)
|
||||
Progress int `json:"progress"` // (0-100)
|
||||
Tags []string `json:"tags"`
|
||||
Tags string `json:"tags"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
}
|
||||
|
@@ -37,8 +37,12 @@ func init() {
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
name TEXT,
|
||||
type TEXT,
|
||||
trigger_words TEXT,
|
||||
base_model TEXT,
|
||||
model_path TEXT,
|
||||
status TEXT,
|
||||
progress INTEGER,
|
||||
tags TEXT,
|
||||
created_at TEXT,
|
||||
updated_at TEXT
|
||||
);
|
||||
|
@@ -14,7 +14,7 @@ type Model struct {
|
||||
ModelPath string `json:"model_path"` // 模型路徑
|
||||
Status string `json:"status"` // (waiting|running|success|error)
|
||||
Progress int `json:"progress"` // (0-100)
|
||||
Tags []string `json:"tags"`
|
||||
Tags string `json:"tags"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user