Browse Source

fix `example`

jmorganca 11 months ago
parent
commit
8ef58a6695
1 changed files with 1 additions and 1 deletions
  1. 1 1
      llama/example/main.go

+ 1 - 1
llama/example/main.go

@@ -46,7 +46,7 @@ func main() {
 	var clipCtx *llama.ClipContext
 
 	// multi-modal
-	if *ppath == "" {
+	if *ppath != "" {
 		clipCtx = llama.NewClipContext(*ppath)
 
 		// open image file