|
@@ -697,7 +697,7 @@
|
|
|
let unit = 768 / this.screenWidth;
|
|
|
this.imageWidth = parseInt((this.screenWidth * unit).toFixed());
|
|
|
this.imageHeight = parseInt((this.$parent.canvasHeight * unit).toFixed());
|
|
|
- this.timeOut = this.modelType==1? 20000: 50000;
|
|
|
+ this.timeOut = this.modelType==1 ? 20000: 120000;
|
|
|
var parmas = {
|
|
|
negativePrompt: noPromot,
|
|
|
prompt: prompt,
|
|
@@ -1006,7 +1006,7 @@
|
|
|
this.loadingMsg = '启动中';
|
|
|
}
|
|
|
this.count = this.count + 1;
|
|
|
- this.getOutPicture();
|
|
|
+ this.getOutPicture();//进行下一轮查询
|
|
|
}else if(single.status=='processing'){
|
|
|
let random = single.progress || 0;
|
|
|
if(random >= 100){
|
|
@@ -1014,7 +1014,7 @@
|
|
|
}
|
|
|
this.myloading = true;
|
|
|
this.loadingMsg = '生成中…' + parseInt(random) + '%';
|
|
|
- this.getOutPicture();
|
|
|
+ this.getOutPicture();//进行下一轮查询
|
|
|
}else if(single.status=='succeeded'){
|
|
|
this.myloading = true;
|
|
|
this.loadingMsg = '生成中…100%';
|