Spaces:
Running
Running
Update generation.html
Browse files- generation.html +5 -2
generation.html
CHANGED
|
@@ -458,10 +458,13 @@
|
|
| 458 |
console.warn("Skipping image, dewatermark failed:", r);
|
| 459 |
continue;
|
| 460 |
}
|
| 461 |
-
|
|
|
|
|
|
|
|
|
|
| 462 |
const finalBlob = await cleanResp.blob();
|
| 463 |
const imgUrl = URL.createObjectURL(finalBlob);
|
| 464 |
-
|
| 465 |
// Replace spinner with loaded image
|
| 466 |
spinnerWrapper.innerHTML = "";
|
| 467 |
const img = document.createElement("img");
|
|
|
|
| 458 |
console.warn("Skipping image, dewatermark failed:", r);
|
| 459 |
continue;
|
| 460 |
}
|
| 461 |
+
|
| 462 |
+
let wrapper = document.createElement("div");
|
| 463 |
+
wrapper.className = "m-2 text-center";
|
| 464 |
+
|
| 465 |
const finalBlob = await cleanResp.blob();
|
| 466 |
const imgUrl = URL.createObjectURL(finalBlob);
|
| 467 |
+
|
| 468 |
// Replace spinner with loaded image
|
| 469 |
spinnerWrapper.innerHTML = "";
|
| 470 |
const img = document.createElement("img");
|