ConradLax commited on
Commit
6ed1c5c
·
1 Parent(s): 0f7917e

fix: find error

Browse files
Files changed (1) hide show
  1. static/script.js +5 -5
static/script.js CHANGED
@@ -40,12 +40,12 @@ function submitImages(acceptedFiles) {
40
  data.append('files[]', file, file.name);
41
  }
42
 
43
- classifyResponse = fetch('classify', {
44
- method: 'POST',
45
- body: data
46
- });
47
 
48
- return classifyResponse;
49
  }
50
 
51
  const inputImg = document.querySelector('img-input');
 
40
  data.append('files[]', file, file.name);
41
  }
42
 
43
+ // classifyResponse = fetch('classify', {
44
+ // method: 'POST',
45
+ // body: data
46
+ // });
47
 
48
+ return "aqa";
49
  }
50
 
51
  const inputImg = document.querySelector('img-input');