Ashrafb commited on
Commit
92995c2
·
verified ·
1 Parent(s): b59a098

Update static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +2 -0
static/index.html CHANGED
@@ -282,6 +282,7 @@ h1 {
282
  const data = await response.json();
283
  const sketchImage = document.createElement('img');
284
  sketchImage.src = data.sketch_image_base64;
 
285
  } else {
286
  // If server error, display the error message
287
  const errorMessage = await response.text();
@@ -303,3 +304,4 @@ h1 {
303
  </script>
304
  </body>
305
  </html>
 
 
282
  const data = await response.json();
283
  const sketchImage = document.createElement('img');
284
  sketchImage.src = data.sketch_image_base64;
285
+ resultContainer.innerHTML =sketchImage;
286
  } else {
287
  // If server error, display the error message
288
  const errorMessage = await response.text();
 
304
  </script>
305
  </body>
306
  </html>
307
+