Fixed error on train after renaming to skills
This commit is contained in:
parent
7f7feb27e9
commit
775e0fbfdf
Binary file not shown.
@ -19,7 +19,7 @@ def register_all_intents():
|
|||||||
for f in files:
|
for f in files:
|
||||||
with open(f, "rb") as infile:
|
with open(f, "rb") as infile:
|
||||||
intent_info_json = json.load(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', '')
|
intent_path = str(f).replace('info.json', '')
|
||||||
|
|
||||||
for intent in intents_in_info:
|
for intent in intents_in_info:
|
||||||
|
Reference in New Issue
Block a user