Skip to content

Commit

Permalink
updated classfier labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Amruth-Vamshi committed Sep 13, 2023
1 parent 21ce138 commit f6f4b42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/xstate/prompt/prompt.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ export class PromptServices {
if (response.error) throw new Error(`${response.error}, please try again.`)
if (response == "LABEL_2") return "invalid"
if (response == "LABEL_1") return "payment"
if (response == "LABEL_0") return "aadhaar"
if (response == "LABEL_0") return "payment"
if (response == "LABEL_3") return "invalid"
if (response == "LABEL_4") return "invalid"
return response;
} catch (error){
return Promise.reject(error)
Expand Down

0 comments on commit f6f4b42

Please sign in to comment.