diff --git a/frontend/api/api.ts b/frontend/api/api.ts index 380a9860..667817ee 100644 --- a/frontend/api/api.ts +++ b/frontend/api/api.ts @@ -45,7 +45,7 @@ export const ImageToText = async ( labels: JSON.stringify(fieldNames), }); - const imageToTextURL = `${apiUrl}image_to_text`; + const imageToTextURL = `${apiUrl}image_to_text/`; try { const response = await fetch(imageToTextURL, { method: "POST",