Fixed error on train after renaming to skills

This commit is contained in:
Mathieu B 2021-07-27 12:39:39 +02:00
parent 7f7feb27e9
commit 775e0fbfdf
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -19,7 +19,7 @@ def register_all_intents():
for f in files:
with open(f, "rb") as infile:
intent_info_json = json.load(infile)
intents_in_info = intent_info_json['skills']
intents_in_info = intent_info_json['intents']
intent_path = str(f).replace('info.json', '')
for intent in intents_in_info: