From 775e0fbfdf947d8d4111d49bb50f274ef7a08599 Mon Sep 17 00:00:00 2001 From: Mathieu B Date: Tue, 27 Jul 2021 12:39:39 +0200 Subject: [PATCH] Fixed error on train after renaming to skills --- ia/trained_model.pth | Bin 3415 -> 3607 bytes utils/intents_utils.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ia/trained_model.pth b/ia/trained_model.pth index 5b2780ba884a19e8e80aebe697b42e19f86d94a4..fa492edd841ac58bbe643a9bca1b43f3b895dbe8 100644 GIT binary patch delta 1903 zcmY*a3s@6Z77iximB?!aL<}TU&{iyu&j(iKT#-tVbP;MJLFExhkhlRHOti=&C{z>* zg0mc6{W+|mbj|Im}xk#e5gQtrHm6v>^>{v?}W=1jTp38RR|O5q=XfqY9TVCA&bRB{~$C(hSw)01y2XE3l@ODZ_Mn$@pY@)?ZP zMk&pImlkPtr1Hg2S}GZ>6c`y*l1i&5H*ianHHLI@BWI2wZ{jdEHZq1Ymy)I>W0jW7 z8b(^QJx!ZV#&KlESUg824H_M(;$mY(9hty6OjjkQrRvE7@H2m zzJh)_Tj{JfjcDToSZgBPBYcWyE(g|h*{DF1LGKKrPVj>%e##Zj-( zIIMsO(G_Fq@JV9r>@KJ=X8RIr2l)sm*uuysM}hA#NUT3G2lc64>3tUmAo#H*N_n0L zx3u@MZOVr*@T?H3nmpj~@pHH(zzmIU5+a?$$55(ofw&)TgYoq*A+tM^nCyL*Ky!zQ zr07F%zgdWj4wCrql2fqZ?rB0)G7W~UU(tsT@5jcyqn`BZC9}}uxI>-qN6y5TC1;@~ zp%s?9-o*c;?$W=M<>C3i*5VwSa9S~Kf@bk0dRApVE^mz{s=f|_sib8W7A8#6cXlm@ z+KOiAu~UF!$&=3X?x#>+)&vdGM)1EHMrZsykA~fapxJwd7#wgx*B^S&M+b_HIQYF} zIxg%lpoks=Iz&Ra=fr~9>2|`6_dX;P0^!-a3~uas1ci4iVXx6X-t!!fXFr>>MPe_dmCHR^J7L-@mOqX&U+K(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gJT@O)n~)q7yFy|o>3oVrj=x0D|Den?_I=(GBd-4Ace zcF=}B182Ppt>|h0Igps;*Wg-23wST;LBpF0kR`qv4tDDxIj{+t4QC+6uNMNgDlz*_ zCvlqNPj_9-g-^p0p(w2fQoe0Kr+TAs=392y*d0u>Kkq^={Zg9T_=GB!$#HaZ1yoOQ zf>-f*pww1CmwzaIPZf++CBgWGB8twQp8{s?`){EA+#sYKRls0KElem4#+nQtIz25htw{BiQ!%NSji}7nzS<5=%wj~u=H$6sS&BOS%3BKUewjO>R z^8KXGLj6dg(kA_=7 zSuRJTpBB^Psr59BIj>SQhTxt00Q~i8$JlMdB5>8&Bed+@M>Mb@8YfAWP#3kA*0qf% zotCv^Mnfe!kW`1xWv-_eg^l}`u+@7y) zbm#BmNIcijqPn@;i+9Zq!xbm*LG7eJKvS=Pd$ZkXrK`+=ifueTnepK+xx@s$*cON+ zn_D5Gezj`az@OyDz-cJ5H45A&eg?7hx~+F`xTBv7l4;Gd>U2EHvVtFcUI2}wmy;sn zEWYPwsr9n5j~qBOjz4mJCK(942V8-X_j`~5MO_bIhuu{)?{p;pO!ffzt&QSe24upM zN8xzVn>FAW9uLO@Oni$W309;Yvjyv4l~9u{3@34E)DFTJaux@%XxuB=B;StPt4LhH zVX}1WL#tRx!kwyoS7B3J8+^DW@j#DE!aLxmZ`F#C9^WT}Rnz zxDr>Tuhj{r~fQUBAeM3sv|_!~{8wViY%CF^nrw qgxK$tar+dL-Wx6-%0#1fl8We=Sb<<-Y>nE{NyN^=(+o diff --git a/utils/intents_utils.py b/utils/intents_utils.py index 6accb21..890f82b 100644 --- a/utils/intents_utils.py +++ b/utils/intents_utils.py @@ -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: