fixed post request for hugging face
This commit is contained in:
parent
0a4003fb74
commit
65730f3451
1 changed files with 1 additions and 1 deletions
|
|
@ -9,5 +9,5 @@ export async function getAll():Promise<AxiosResponse<APIObjectType>> {
|
||||||
|
|
||||||
export async function sendAll(data:sendAllProps) {
|
export async function sendAll(data:sendAllProps) {
|
||||||
console.log(data);
|
console.log(data);
|
||||||
return await axios.post(`${backendUrl}/predict`, data);
|
return await axios.post(`/predict`, data);
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue