chore: change predicted endpoint path
This commit is contained in:
parent
277a237654
commit
bdd81d5e43
|
|
@ -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),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue