yukiapple323 commited on
Commit
b88168d
ยท
verified ยท
1 Parent(s): 91e354a

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -0
index.html CHANGED
@@ -86,6 +86,7 @@
86
  }
87
 
88
  function analyzeNutrition(text) {
 
89
  // ์ •๊ทœ์‹์„ ์‚ฌ์šฉํ•˜์—ฌ ์„คํƒ• ํ•จ๋Ÿ‰ ์ถ”์ถœ
90
  const sugarMatch = text.match(/๋‹น[^\d]*(\d+(\.\d+)?)\s*(g|grams|๊ทธ๋žจ)/i);
91
  if (sugarMatch) {
 
86
  }
87
 
88
  function analyzeNutrition(text) {
89
+ console.log("Original text:", text); // ํ…์ŠคํŠธ ํ™•์ธ์„ ์œ„ํ•ด ์ถ”๊ฐ€
90
  // ์ •๊ทœ์‹์„ ์‚ฌ์šฉํ•˜์—ฌ ์„คํƒ• ํ•จ๋Ÿ‰ ์ถ”์ถœ
91
  const sugarMatch = text.match(/๋‹น[^\d]*(\d+(\.\d+)?)\s*(g|grams|๊ทธ๋žจ)/i);
92
  if (sugarMatch) {