Ashrafb commited on
Commit
c7b1499
·
verified ·
1 Parent(s): 592200c

Update static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +1 -1
static/index.html CHANGED
@@ -370,7 +370,7 @@ input[type="number"]#best_max_flavors:focus {
370
  async function generateDescription() {
371
  var formData = new FormData();
372
  var fileInput = document.querySelector('input[type="file"]');
373
- const contextnput = document.getElementById('context');
374
  formData.append("image", fileInput.files[0]);
375
  formData.append("context", contextInput.value);
376
  // Check if the file input is empty
 
370
  async function generateDescription() {
371
  var formData = new FormData();
372
  var fileInput = document.querySelector('input[type="file"]');
373
+ const contextInput = document.getElementById('context');
374
  formData.append("image", fileInput.files[0]);
375
  formData.append("context", contextInput.value);
376
  // Check if the file input is empty