trim images

This commit is contained in:
Michael Yang
2024-01-31 17:39:38 -08:00
parent b4e11be8ef
commit 8450bf66e6
3 changed files with 41 additions and 20 deletions

View File

@@ -62,7 +62,7 @@ const maxRetries = 3
type PredictOpts struct {
Prompt string
Format string
Images []api.ImageData
Images map[int]api.ImageData
Options api.Options
}