mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-06 19:25:21 +00:00
feed the linter
This commit is contained in:
parent
f8ed545cbb
commit
5da1043680
@ -229,7 +229,7 @@ func Preprocess(imageData []byte) ([]float32, int, error) {
|
|||||||
var aspectRatioIndex int
|
var aspectRatioIndex int
|
||||||
for n, r := range supportedRatios {
|
for n, r := range supportedRatios {
|
||||||
if r == aspectRatio {
|
if r == aspectRatio {
|
||||||
aspectRatioIndex = n+1
|
aspectRatioIndex = n + 1
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user