Update images.go (#134)
This commit is contained in:
parent
cd820c8bca
commit
6f046dbf18
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue