Ashrafb commited on
Commit
ddd39c7
·
verified ·
1 Parent(s): a81196e

Update static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +3 -3
static/index.html CHANGED
@@ -41,8 +41,8 @@
41
  <div id="resultContainer"></div>
42
 
43
  <script>
44
- <script>
45
- function handleFormSubmission(event) {
46
  event.preventDefault();
47
  const formData = new FormData(this);
48
  try {
@@ -59,7 +59,7 @@
59
  }
60
 
61
  document.getElementById('uploadForm').addEventListener('submit', handleFormSubmission);
62
- </script>
63
 
64
  </script>
65
  </body>
 
41
  <div id="resultContainer"></div>
42
 
43
  <script>
44
+
45
+ async function handleFormSubmission(event) {
46
  event.preventDefault();
47
  const formData = new FormData(this);
48
  try {
 
59
  }
60
 
61
  document.getElementById('uploadForm').addEventListener('submit', handleFormSubmission);
62
+
63
 
64
  </script>
65
  </body>