1 parent 07f7889 commit ae3691cCopy full SHA for ae3691c
1 file changed
webapp/components/api.ts
@@ -1,6 +1,6 @@
1
// components/api.ts
2
export async function getPrediction(inputs: number[]) {
3
- const res = await fetch("https://YOUR-BACKEND-URL.onrender.com/predict", {
+ const res = await fetch("https://cobalt-90dg.onrender.com/predict", {
4
method: "POST",
5
headers: { "Content-Type": "application/json" },
6
body: JSON.stringify({ inputs })
0 commit comments