ginipick commited on
Commit
562b2de
ยท
verified ยท
1 Parent(s): 976c341

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +3 -2
index.html CHANGED
@@ -71,7 +71,7 @@
71
  log(`์ด๋ฉ”์ผ ์ž…๋ ฅ๊ฐ’: ${email}`);
72
 
73
  try {
74
- const apiUrl = 'https://api-inference.huggingface.co/spaces/ginipick/Dokdo-pay/add_points_and_refresh_fn';
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
- email: email
 
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