Skip to content

Commit

Permalink
Merge pull request #44 from Photoroom/ben/nit_expose_return_latents
Browse files Browse the repository at this point in the history
[nit] ReturnLatents support
  • Loading branch information
blefaudeux authored Nov 19, 2024
2 parents 4bec070 + bcf23fe commit 9b11d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/generator_db.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func (c *SourceDBConfig) getDbRequest() dbRequest {
lacksMasks: c.LacksMasks,
hasLatents: c.HasLatents,
lacksLatents: c.LacksLatents,
returnLatents: c.HasLatents, // Could be exposed as it's done internally
returnLatents: c.ReturnLatents,
minShortEdge: sanitizeInt(c.MinShortEdge),
maxShortEdge: sanitizeInt(c.MaxShortEdge),
minPixelCount: sanitizeInt(c.MinPixelCount),
Expand Down

0 comments on commit 9b11d87

Please sign in to comment.