Changed port to previous
This commit is contained in:
parent
3fd5673e6d
commit
6029102fd9
1 changed files with 2 additions and 2 deletions
|
|
@ -1,10 +1,10 @@
|
|||
import axios from "axios";
|
||||
|
||||
export async function getAll() {
|
||||
return await axios.get("http://localhost:8000/all");
|
||||
return await axios.get("http://localhost:5003/");
|
||||
}
|
||||
|
||||
export async function sendAll(data) {
|
||||
console.log(data);
|
||||
return await axios.post("http://localhost:8000/predict", data);
|
||||
return await axios.post("http://localhost:5003/predict", data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue