AmrGaberr commited on
Commit
3c50a54
·
verified ·
1 Parent(s): 7be8021

Update UI2/calculator.js

Browse files
Files changed (1) hide show
  1. UI2/calculator.js +1 -1
UI2/calculator.js CHANGED
@@ -289,7 +289,7 @@ document.addEventListener('DOMContentLoaded', () => {
289
 
290
  try {
291
  console.log('Sending prediction request to server:', data);
292
- const response = await fetch("http://10.108.43.103:7860/predict", {
293
  method: "POST",
294
  headers: { "Content-Type": "application/json" },
295
  body: JSON.stringify(data),
 
289
 
290
  try {
291
  console.log('Sending prediction request to server:', data);
292
+ const response = await fetch("https://huggingface.co/spaces/AmrGaberr/Injury_Prediction_System.hf.space/predict", {
293
  method: "POST",
294
  headers: { "Content-Type": "application/json" },
295
  body: JSON.stringify(data),