Update static/index.html
Browse files- static/index.html +3 -1
static/index.html
CHANGED
|
@@ -25,7 +25,9 @@
|
|
| 25 |
});
|
| 26 |
|
| 27 |
const data = await response.json();
|
| 28 |
-
document.
|
|
|
|
|
|
|
| 29 |
}
|
| 30 |
|
| 31 |
document.querySelector('form').addEventListener('submit', function(event) {
|
|
|
|
| 25 |
});
|
| 26 |
|
| 27 |
const data = await response.json();
|
| 28 |
+
const sketchImage = document.createElement('img');
|
| 29 |
+
sketchImage.src = data.sketch_image_base64;
|
| 30 |
+
document.getElementById('result').appendChild(sketchImage);
|
| 31 |
}
|
| 32 |
|
| 33 |
document.querySelector('form').addEventListener('submit', function(event) {
|