File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 33 * @Date: 2023-08-22 15:52:43
44 * @version:
55 * @LastEditors: SpenserCai
6- * @LastEditTime: 2023-08-22 16 :00:42
6+ * @LastEditTime: 2023-08-23 13 :00:37
77 * @Description: file content
88 */
99package intersvc
@@ -14,14 +14,14 @@ type ControlnetPredictArgsItem struct {
1414 Model string `json:"model"`
1515 Weight float64 `json:"weight"`
1616 Image string `json:"image"`
17- ResizeMode int `json:"resize_mode"`
17+ ResizeMode int64 `json:"resize_mode"`
1818 LowVRAM bool `json:"low_vram"`
19- ProcessorRes int `json:"processor_res"`
20- ThresholdA int `json:"threshold_a"`
21- ThresholdB int `json:"threshold_b"`
19+ ProcessorRes float64 `json:"processor_res"`
20+ ThresholdA float64 `json:"threshold_a"`
21+ ThresholdB float64 `json:"threshold_b"`
2222 GuidanceStart float64 `json:"guidance_start"`
2323 GuidanceEnd float64 `json:"guidance_end"`
24- ControlMode int `json:"control_mode"`
24+ ControlMode int64 `json:"control_mode"`
2525 PixelPerFect bool `json:"pixel_perfect"`
2626}
2727
You can’t perform that action at this time.
0 commit comments