Skip to content

Commit 24adf9c

Browse files
authored
remove default to stablediffusion (#1500)
1 parent c45f581 commit 24adf9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/openai/image.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func ImageEndpoint(cm *config.ConfigLoader, o *options.Option) func(c *fiber.Ctx
127127
config.Backend = model.StableDiffusionBackend
128128
case "tinydream":
129129
config.Backend = model.TinyDreamBackend
130-
default:
130+
case "":
131131
config.Backend = model.StableDiffusionBackend
132132
}
133133

0 commit comments

Comments
 (0)