Unverified Commit 6f046dbf authored by Michael Yang's avatar Michael Yang Committed by GitHub
Browse files

Update images.go (#134)

parent cd820c8b
...@@ -156,7 +156,6 @@ func GetModel(name string) (*Model, error) { ...@@ -156,7 +156,6 @@ func GetModel(name string) (*Model, error) {
model.System = string(bts) model.System = string(bts)
case "application/vnd.ollama.image.prompt": case "application/vnd.ollama.image.prompt":
log.Printf("PROMPT is deprecated. Please use TEMPLATE and SYSTEM instead.")
bts, err := os.ReadFile(filename) bts, err := os.ReadFile(filename)
if err != nil { if err != nil {
return nil, err return nil, err
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment