Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
|
@@ -127,7 +127,7 @@
|
|
| 127 |
try {
|
| 128 |
// Thay "YOUR_API_URL_HERE" bằng đường dẫn API backend thật của bạn
|
| 129 |
// Ví dụ: "https://ranbac-ocr.hf.space/predict"
|
| 130 |
-
const response = await fetch('
|
| 131 |
method: 'POST',
|
| 132 |
body: formData
|
| 133 |
});
|
|
|
|
| 127 |
try {
|
| 128 |
// Thay "YOUR_API_URL_HERE" bằng đường dẫn API backend thật của bạn
|
| 129 |
// Ví dụ: "https://ranbac-ocr.hf.space/predict"
|
| 130 |
+
const response = await fetch('/predict', {
|
| 131 |
method: 'POST',
|
| 132 |
body: formData
|
| 133 |
});
|