|
@@ -664,7 +664,7 @@
|
|
|
"denoising":0.9,
|
|
|
image:this.shottingImg,
|
|
|
styleImage:imgUrl,
|
|
|
- keyword: "replicate",
|
|
|
+ keyword: "elabSd",
|
|
|
model: this.modelType==1? "lucataco/ssd-1b" : 'catio-apps/controlnet-interior-design',
|
|
|
};
|
|
|
if(this.modelType==2){//精准设计
|
|
@@ -957,7 +957,10 @@
|
|
|
this.loadingMsg = '启动中';
|
|
|
}
|
|
|
this.count = this.count + 1;
|
|
|
- this.getOutPicture();
|
|
|
+ // this.getOutPicture();
|
|
|
+ setTimeout(()=>{
|
|
|
+ this.getOutPicture();
|
|
|
+ },1000)
|
|
|
}else if(single.status=='processing'){
|
|
|
let random = single.progress || 0;
|
|
|
if(random >= 100){
|
|
@@ -965,7 +968,10 @@
|
|
|
}
|
|
|
this.myloading = true;
|
|
|
this.loadingMsg = '生成中…' + parseInt(random) + '%';
|
|
|
- this.getOutPicture();
|
|
|
+ // this.getOutPicture();
|
|
|
+ setTimeout(()=>{
|
|
|
+ this.getOutPicture();
|
|
|
+ },1000)
|
|
|
}else if(single.status=='succeeded'){
|
|
|
this.myloading = true;
|
|
|
this.loadingMsg = '生成中…100%';
|