Update index.html
Browse files- index.html +3 -2
index.html
CHANGED
|
@@ -71,7 +71,7 @@
|
|
| 71 |
log(`์ด๋ฉ์ผ ์
๋ ฅ๊ฐ: ${email}`);
|
| 72 |
|
| 73 |
try {
|
| 74 |
-
const apiUrl = 'https://
|
| 75 |
log(`API ํธ์ถ ์์: ${apiUrl}`);
|
| 76 |
|
| 77 |
const response = await fetch(apiUrl, {
|
|
@@ -80,7 +80,8 @@
|
|
| 80 |
'Content-Type': 'application/json',
|
| 81 |
},
|
| 82 |
body: JSON.stringify({
|
| 83 |
-
|
|
|
|
| 84 |
})
|
| 85 |
});
|
| 86 |
|
|
|
|
| 71 |
log(`์ด๋ฉ์ผ ์
๋ ฅ๊ฐ: ${email}`);
|
| 72 |
|
| 73 |
try {
|
| 74 |
+
const apiUrl = 'https://ginipick-dokdo-pay.hf.space/api/predict/';
|
| 75 |
log(`API ํธ์ถ ์์: ${apiUrl}`);
|
| 76 |
|
| 77 |
const response = await fetch(apiUrl, {
|
|
|
|
| 80 |
'Content-Type': 'application/json',
|
| 81 |
},
|
| 82 |
body: JSON.stringify({
|
| 83 |
+
data: [email],
|
| 84 |
+
fn_index: 0
|
| 85 |
})
|
| 86 |
});
|
| 87 |
|