Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
feat: 이미지 생성 안내 "약 10초만 기다려주세요"
Browse files- static/script.js +1 -1
static/script.js
CHANGED
|
@@ -627,7 +627,7 @@ async function genImage() {
|
|
| 627 |
let sec = 0;
|
| 628 |
if (imgStatus) {
|
| 629 |
imgStatus.hidden = false;
|
| 630 |
-
imgStatus.innerHTML = '<span class="img-hourglass">⏳</span> 이미지를 그리는 중입니다
|
| 631 |
}
|
| 632 |
if (imgTimer) clearInterval(imgTimer);
|
| 633 |
imgTimer = setInterval(() => { sec++; const e = document.getElementById("img-sec"); if (e) e.textContent = sec; }, 1000);
|
|
|
|
| 627 |
let sec = 0;
|
| 628 |
if (imgStatus) {
|
| 629 |
imgStatus.hidden = false;
|
| 630 |
+
imgStatus.innerHTML = '<span class="img-hourglass">⏳</span> 이미지를 그리는 중입니다 — <strong>약 10초만 기다려주세요</strong> (<b id="img-sec">0</b>초)';
|
| 631 |
}
|
| 632 |
if (imgTimer) clearInterval(imgTimer);
|
| 633 |
imgTimer = setInterval(() => { sec++; const e = document.getElementById("img-sec"); if (e) e.textContent = sec; }, 1000);
|