Ver código fonte

fix `example`

jmorganca 11 meses atrás
pai
commit
a4d402c403
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      llama/example/main.go

+ 1 - 1
llama/example/main.go

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