Spaces:
Runtime error
Runtime error
Update static/index.html
Browse files- static/index.html +2 -1
static/index.html
CHANGED
@@ -282,7 +282,8 @@ h1 {
|
|
282 |
const data = await response.json();
|
283 |
const sketchImage = document.createElement('img');
|
284 |
sketchImage.src = data.sketch_image_base64;
|
285 |
-
resultContainer.
|
|
|
286 |
} else {
|
287 |
// If server error, display the error message
|
288 |
const errorMessage = await response.text();
|
|
|
282 |
const data = await response.json();
|
283 |
const sketchImage = document.createElement('img');
|
284 |
sketchImage.src = data.sketch_image_base64;
|
285 |
+
resultContainer.appendChild(sketchImage);
|
286 |
+
|
287 |
} else {
|
288 |
// If server error, display the error message
|
289 |
const errorMessage = await response.text();
|