Changed uri for ai model in frontend.

This commit is contained in:
K
2025-07-22 16:42:52 +05:30
parent b9824307dd
commit 872a38c768
+1 -1
View File
@@ -24,7 +24,7 @@ const Ai = () => {
const formData = new FormData();
formData.append("image", selectedFile);
const response = await fetch("http://localhost:3000/predict", {
const response = await fetch("http://model:8081/predict", {
method: "POST",
body: formData,
});