Update anapnoe_png_info.js
Browse files- anapnoe_png_info.js +1 -1
anapnoe_png_info.js
CHANGED
|
@@ -724,7 +724,7 @@ let imgStorage=(img)=>{
|
|
| 724 |
let png_info_blob = await convertDomImageToBlob(png_info_img);
|
| 725 |
this.png_info_blob = png_info_blob;
|
| 726 |
let res = await readNovelAITag(png_info_blob);
|
| 727 |
-
this.shadowRoot.querySelector("#
|
| 728 |
|
| 729 |
//js对象形式转化
|
| 730 |
const result = {};
|
|
|
|
| 724 |
let png_info_blob = await convertDomImageToBlob(png_info_img);
|
| 725 |
this.png_info_blob = png_info_blob;
|
| 726 |
let res = await readNovelAITag(png_info_blob);
|
| 727 |
+
this.shadowRoot.querySelector("#png_2img_results > div .svelte-1ed2p3z").innerHTML = res.length ? res[0].text : "这不是一张stablediffusion图片";
|
| 728 |
|
| 729 |
//js对象形式转化
|
| 730 |
const result = {};
|