Browse Source

fix `example`

jmorganca 11 tháng trước cách đây
mục cha
commit
8ef58a6695
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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