Ashrafb commited on
Commit
9d71930
·
verified ·
1 Parent(s): 9d1c28a

Update AB/index.html

Browse files
Files changed (1) hide show
  1. AB/index.html +1 -1
AB/index.html CHANGED
@@ -286,7 +286,7 @@ h1 {
286
 
287
  const formData = new FormData();
288
  const fileInput = document.querySelector('input[type="file"]');
289
- formData.append('file', fileInput.files[0]);
290
 
291
  try {
292
  // Display loading spinner
 
286
 
287
  const formData = new FormData();
288
  const fileInput = document.querySelector('input[type="file"]');
289
+ formData.append('image_file', fileInput.files[0]);
290
 
291
  try {
292
  // Display loading spinner