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
18f2cb04
Commit
18f2cb04
authored
Aug 15, 2023
by
Bruce MacDonald
Browse files
dont log fatal
parent
2c8b680b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
server/images.go
server/images.go
+1
-1
No files found.
server/images.go
View file @
18f2cb04
...
...
@@ -505,7 +505,7 @@ func embeddingLayers(e EmbeddingParams) ([]*LayerReader, error) {
// this will be used to check if we already have embeddings for a file
modelInfo
,
err
:=
os
.
Stat
(
e
.
model
)
if
err
!=
nil
{
log
.
Fatalf
(
"Error getting
file info: %
s
"
,
err
)
return
nil
,
fmt
.
Errorf
(
"failed to get model
file info: %
v
"
,
err
)
}
addedFiles
:=
make
(
map
[
string
]
bool
)
// keep track of files that have already been added
...
...
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