فهرست منبع

修改老的AI生图参数为liblib

zjs_project 4 هفته پیش
والد
کامیت
82f2ac8a17
1فایلهای تغییر یافته به همراه16 افزوده شده و 13 حذف شده
  1. 16 13
      src/components/newBottomCom/viewMask/viewMask.vue

+ 16 - 13
src/components/newBottomCom/viewMask/viewMask.vue

@@ -683,19 +683,22 @@
 					keyword: "elabSd",
 					model: this.modelType==1? "lucataco/ssd-1b" : 'catio-apps/controlnet-interior-design',
 				};
-				if(this.modelType==2){//精准设计
-					if(subType == 0){//首次
-						parmas.model = this.reqList[0].model;
-					}else{//重试
-						parmas.model = this.reqListReset[0].model;
-					}
-				}else{//创意设计
-					if(subType == 0){//首次
-						parmas.model = "lucataco/ssd-1b";
-					}else{//重试
-						parmas.model = "deployments/elabgroup/elab-ssd-1b";
-					}
-				}
+				// if(this.modelType==2){//精准设计
+				// 	if(subType == 0){//首次
+				// 		parmas.model = this.reqList[0].model;
+				// 	}else{//重试
+				// 		parmas.model = this.reqListReset[0].model;
+				// 	}
+				// }else{//创意设计
+				// 	if(subType == 0){//首次
+				// 		parmas.model = "lucataco/ssd-1b";
+				// 	}else{//重试
+				// 		parmas.model = "deployments/elabgroup/elab-ssd-1b";
+				// 	}
+				// }
+                parmas.keyword = "liblibai";
+                parmas.model = "text2img";
+                parmas.loraModel = "98333991fc8744af8b162948ae33b15b";
 				this.curSpaceId = this.spaceObj.spaceId;//生成时的空间id
 				let result = await this.prevHandle(parmas);
 				console.warn("***prevHandle***",result)