Update images.go (#134)

This commit is contained in:
Michael Yang 2023-07-19 23:46:01 -07:00 committed by GitHub
parent cd820c8bca
commit 6f046dbf18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,7 +156,6 @@ func GetModel(name string) (*Model, error) {
model.System = string(bts)
case "application/vnd.ollama.image.prompt":
log.Printf("PROMPT is deprecated. Please use TEMPLATE and SYSTEM instead.")
bts, err := os.ReadFile(filename)
if err != nil {
return nil, err