fix: fix typo

This commit is contained in:
mudler 2023-05-20 15:29:06 +02:00
parent 8a0e6e7ee8
commit 1b75512da5

View file

@ -74,7 +74,7 @@ func App(c context.Context, configFile string, loader *model.ModelLoader, upload
applier := newGalleryApplier(loader.ModelPath) applier := newGalleryApplier(loader.ModelPath)
applier.start(c, cm) applier.start(c, cm)
app.Post("/models/apply", applyModelGallery(loader.ModelPath, cm, applier.C)) app.Post("/models/apply", applyModelGallery(loader.ModelPath, cm, applier.C))
app.Get("/models/jobs/:uid", getOpStatus(applier)) app.Get("/models/jobs/:uuid", getOpStatus(applier))
// openAI compatible API endpoint // openAI compatible API endpoint