浏览代码

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
 
 	// multi-modal
-	if *ppath == "" {
+	if *ppath != "" {
 		clipCtx = llama.NewClipContext(*ppath)
 
 		// open image file