فهرست منبع

fix `example`

jmorganca 11 ماه پیش
والد
کامیت
8ef58a6695
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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