chore: change predicted endpoint path

This commit is contained in:
Mahen 2026-04-04 09:39:33 +07:00
parent 277a237654
commit bdd81d5e43
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ export const getAIRecommendation = async (
options?: { signal?: AbortSignal }, options?: { signal?: AbortSignal },
): Promise<AIRecommendationResponse> => { ): Promise<AIRecommendationResponse> => {
console.log("Fetching to FastAPI..."); console.log("Fetching to FastAPI...");
const aiRes = await fetch("http://localhost:8000/recommend", { const aiRes = await fetch("https://citot123-tokped-scraper.hf.space/recommend", {
method: "POST", method: "POST",
headers: { "Content-Type": "application/json" }, headers: { "Content-Type": "application/json" },
body: JSON.stringify(payload), body: JSON.stringify(payload),