AmnaHassan commited on
Commit
90cf158
·
verified ·
1 Parent(s): 9487dc8

Update static/index.html

Browse files
Files changed (1) hide show
  1. 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('http://127.0.0.1:8000/predict', {
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'