Endpoint of api fixed and fixed bug where node is not null
This commit is contained in:
parent
35759c7248
commit
31784f6045
2 changed files with 1 additions and 5 deletions
|
|
@ -6,5 +6,5 @@ export async function getAll() {
|
|||
|
||||
export async function sendAll(data) {
|
||||
console.log(data);
|
||||
return await axios.post("http://localhost:5003/load", data);
|
||||
return await axios.post("http://localhost:5003/predict", data);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -113,7 +113,6 @@ export default function ExtraSidebar() {
|
|||
onDragStart={(event) =>
|
||||
onDragStart(event, {
|
||||
type: "chatInput",
|
||||
node: {},
|
||||
})
|
||||
}
|
||||
>
|
||||
|
|
@ -131,7 +130,6 @@ export default function ExtraSidebar() {
|
|||
onDragStart={(event) =>
|
||||
onDragStart(event, {
|
||||
type: "chatOutput",
|
||||
node: {},
|
||||
})
|
||||
}
|
||||
>
|
||||
|
|
@ -155,7 +153,6 @@ export default function ExtraSidebar() {
|
|||
onDragStart={(event) =>
|
||||
onDragStart(event, {
|
||||
type: "str",
|
||||
node: {},
|
||||
})
|
||||
}
|
||||
>
|
||||
|
|
@ -173,7 +170,6 @@ export default function ExtraSidebar() {
|
|||
onDragStart={(event) =>
|
||||
onDragStart(event, {
|
||||
type: "bool",
|
||||
node: {},
|
||||
})
|
||||
}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue