Skip to content

Commit

Permalink
send error message when the training is not working correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
khansadaoudi committed Oct 31, 2024
1 parent e1d6626 commit d7a5d73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/parsing/ParsingPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,7 @@ export default defineComponent({
.parserTrainStatus(modelInfo, trainTaskId)
.then((response) => {
if (response.data.status === 'failure') {
notifyError({ error: response.data.error });
this.clearCurrentTask();
} else if (response.data.data.ready) {
const scores_best = response.data.data.scores_best;
Expand Down

0 comments on commit d7a5d73

Please sign in to comment.