localAi / pkg /stablediffusion /generate_unsupported.go
eder0782's picture
inicio
7def60a
raw
history blame contribute delete
306 Bytes
//go:build !stablediffusion
// +build !stablediffusion
package stablediffusion
import "fmt"
func GenerateImage(height, width, mode, step, seed int, positive_prompt, negative_prompt, dst, asset_dir string) error {
return fmt.Errorf("This version of LocalAI was built without the stablediffusion tag")
}