Can't add new intents

Hi. I’m having a problem. When I add new intent on data.json folder, and then write the command ‘python train_init.py’ and ‘python train_online.py’ and then write the intents text I addes at this case ‘Yes’ the bot doesn’t recognise it. And I can’t understand why.