diff --git a/backend-golang/app.go b/backend-golang/app.go index 0508ad0..3edcb9a 100644 --- a/backend-golang/app.go +++ b/backend-golang/app.go @@ -69,8 +69,8 @@ func (a *App) OnBeforeClose(ctx context.Context) bool { func (a *App) watchFs() { watcher, err := fsnotify.NewWatcher() if err == nil { - watcher.Add("./lora-models") - watcher.Add("./models") + watcher.Add(a.exDir + "./lora-models") + watcher.Add(a.exDir + "./models") go func() { for { select {