Update static/index.html
Browse files- static/index.html +1 -1
static/index.html
CHANGED
|
@@ -79,7 +79,7 @@
|
|
| 79 |
|
| 80 |
try {
|
| 81 |
// Replace with your FastAPI endpoint if deployed elsewhere
|
| 82 |
-
const response = await fetch('
|
| 83 |
method: 'POST',
|
| 84 |
headers: {
|
| 85 |
'Content-Type': 'application/json'
|
|
|
|
| 79 |
|
| 80 |
try {
|
| 81 |
// Replace with your FastAPI endpoint if deployed elsewhere
|
| 82 |
+
const response = await fetch('/predict', {
|
| 83 |
method: 'POST',
|
| 84 |
headers: {
|
| 85 |
'Content-Type': 'application/json'
|