ilar06 commited on
Commit
b2a7a2b
1 Parent(s): e156445

Update index.html

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