Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
6f046dbf
Unverified
Commit
6f046dbf
authored
Jul 19, 2023
by
Michael Yang
Committed by
GitHub
Jul 19, 2023
Browse files
Update images.go (#134)
parent
cd820c8b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
server/images.go
server/images.go
+0
-1
No files found.
server/images.go
View file @
6f046dbf
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment