Skip to content

Commit

Permalink
show original AOI that was used for specific training
Browse files Browse the repository at this point in the history
  • Loading branch information
omranlm committed Feb 1, 2024
1 parent ef92060 commit a2d27a2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions frontend/src/components/Layout/Feedback/Feedback.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,14 @@ const Feedback = (props) => {
} else {
const datasetId = res.data.dataset;
setDatasetId(datasetId);
const resAOIs = await axios.get(`/aoi/?dataset=${datasetId}`, null, {
headers,
});
const resAOIs = await axios.get(
`/workspace/download/dataset_${datasetId}/output/training_${trainingId}/aois.geojson`,
null,
{
headers,
}
);
// console.log("resAOIs", resAOIs);
setOriginalAOIs(resAOIs.data);
}
} catch (e) {
Expand Down

0 comments on commit a2d27a2

Please sign in to comment.