Selaa lähdekoodia

AI生图-修改

zjs_project 1 kuukausi sitten
vanhempi
commit
3306f15fc2
1 muutettua tiedostoa jossa 12 lisäystä ja 10 poistoa
  1. 12 10
      src/components/newQCCom/viewMask/viewMask.vue

+ 12 - 10
src/components/newQCCom/viewMask/viewMask.vue

@@ -717,17 +717,19 @@
 					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;
-					}
+                    parmas.model = "target_transform";
+					// 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.model = "creative_design";
+					// if(subType == 0){//首次
+					// 	parmas.model = "lucataco/ssd-1b";
+					// }else{//重试
+					// 	parmas.model = "deployments/elabgroup/elab-ssd-1b";
+					// }
 				}
 				this.curSpaceId = this.spaceObj.spaceId;//生成时的空间id
 				let result = await this.prevHandle(parmas);