ilar06 commited on
Commit
ee62676
1 Parent(s): 121d4d0

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -77,7 +77,7 @@
77
  });
78
  });
79
 
80
- function analyzeNutrition(text) {
81
  // Extract nutritional values (assuming sugar content is labeled as '당류' in Korean)
82
  const regex = /당류\s*:\s*(\d+(\.\d+)?)\s*g\s*/; // This regex might need adjustments based on label format
83
  const match = text.match(regex);
 
77
  });
78
  });
79
 
80
+ async function analyzeNutrition(text) {
81
  // Extract nutritional values (assuming sugar content is labeled as '당류' in Korean)
82
  const regex = /당류\s*:\s*(\d+(\.\d+)?)\s*g\s*/; // This regex might need adjustments based on label format
83
  const match = text.match(regex);