Spaces:
Sleeping
Sleeping
Update index.html
Browse files- 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) {
|