Skip to content

Commit 1cd5d8d

Browse files
author
phelan
authored
chore(model): change type of guidance scale from int to float (#135)
Because - wrong type of `guidance scale` in model text to image input This commit - change type of `guidance scale` from int64 to float
1 parent beca339 commit 1cd5d8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vdp/model/v1alpha/task_text_to_image.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ message TextToImageInput {
1212
// The steps
1313
optional int64 steps = 2 [ (google.api.field_behavior) = OUTPUT_ONLY ];
1414
// The guidance scale
15-
optional int64 cfg_scale = 3 [ (google.api.field_behavior) = OUTPUT_ONLY ];
15+
optional float cfg_scale = 3 [ (google.api.field_behavior) = OUTPUT_ONLY ];
1616
// The seed
1717
optional int64 seed = 4 [ (google.api.field_behavior) = OUTPUT_ONLY ];
1818
}

0 commit comments

Comments
 (0)