精简表单
This commit is contained in:
@@ -137,9 +137,6 @@ func ImagesPost(w http.ResponseWriter, r *http.Request) {
|
||||
if template.CfgScale > 20 {
|
||||
template.CfgScale = 20
|
||||
}
|
||||
if template.SamplerName == "" {
|
||||
template.SamplerName = "DDIM"
|
||||
}
|
||||
if template.ModelID <= 0 {
|
||||
w.WriteHeader(http.StatusBadRequest)
|
||||
w.Write([]byte("model_id 参数不能为空"))
|
||||
|
Reference in New Issue
Block a user