Commit 512d9446 authored by Rohan  Kumar's avatar Rohan Kumar
Browse files

fix

parents 1c64d3c2 7ea3e4b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ public class PointSet {

        // add every point blankly to pointset
        pset.addAll(Arrays.asList(pp));
        centroid = new Point(0,0,0, null);
        centroid = new Point(0,0,0, 0);
        reps = new Point[NUM_REPS];
        IDX = id;
    }
+1 −3
Original line number Diff line number Diff line
@@ -6,8 +6,6 @@ async function fetchImageAndObjects() {
        }
        const data = await response.json();

        console.log(data)

        displayImageAndObjects(data.objects);
    } catch (error) {
        console.error(error);
@@ -58,7 +56,7 @@ async function startWorkflow(){
    startButton.style.display = "none";
    displayLoading();
    try {
        const response = await fetch('http://127.0.0.1:5555/runProcess');
        const response = await fetch('http://127.0.0.1:5000/runProcess');
        if (!response.ok) {
            throw new Error('Failed to fetch image and objects');
        }