Skip to content

Commit 36452f7

Browse files
committed
fix bug
1 parent 1bad412 commit 36452f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

intersvc/controlnet_predict_model.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @Date: 2023-08-22 15:52:43
44
* @version:
55
* @LastEditors: SpenserCai
6-
* @LastEditTime: 2023-08-23 13:00:37
6+
* @LastEditTime: 2023-09-06 23:56:38
77
* @Description: file content
88
*/
99
package intersvc
@@ -16,7 +16,7 @@ type ControlnetPredictArgsItem struct {
1616
Image string `json:"image"`
1717
ResizeMode int64 `json:"resize_mode"`
1818
LowVRAM bool `json:"low_vram"`
19-
ProcessorRes float64 `json:"processor_res"`
19+
ProcessorRes int64 `json:"processor_res"`
2020
ThresholdA float64 `json:"threshold_a"`
2121
ThresholdB float64 `json:"threshold_b"`
2222
GuidanceStart float64 `json:"guidance_start"`

0 commit comments

Comments
 (0)