From 53da5409b45a3e76299ca5b4487a11f0eae40ad5 Mon Sep 17 00:00:00 2001 From: Mathieu B Date: Mon, 26 Jul 2021 22:46:47 +0200 Subject: [PATCH] Added jokes --- ia/trained_model.pth | Bin 3031 -> 3415 bytes intents/entertainement/__init__.py | 0 intents/entertainement/jokes/__init__.py | 0 intents/entertainement/jokes/info.json | 10 +++ intents/entertainement/jokes/intent.py | 36 +++++++++++ intents/entertainement/jokes/lang/en-en.json | 11 ++++ intents/entertainement/jokes/lang/fr-fr.json | 14 +++++ requirements.txt | 3 +- utils/client_utils.py | 61 +++++++++++++++++++ 9 files changed, 134 insertions(+), 1 deletion(-) create mode 100644 intents/entertainement/__init__.py create mode 100644 intents/entertainement/jokes/__init__.py create mode 100644 intents/entertainement/jokes/info.json create mode 100644 intents/entertainement/jokes/intent.py create mode 100644 intents/entertainement/jokes/lang/en-en.json create mode 100644 intents/entertainement/jokes/lang/fr-fr.json create mode 100644 utils/client_utils.py diff --git a/ia/trained_model.pth b/ia/trained_model.pth index cfb30aaa509540d04233b5a3008c66ee93d76ad0..5b2780ba884a19e8e80aebe697b42e19f86d94a4 100644 GIT binary patch delta 1872 zcmY*a4^R_l7SA6@NMZWEf7PFuX)FmvkL`DTCn+uz&o zy*KZBdqsOCaQm>|9tWe$GK!2o#;FaA$~d+2KQqOO00%QyAf@a~$s&c+!OWj{s*<#d zr?S(fv&B+&q14|g5s5^z?TpDR=7E*TGE0Sf70qOueRxz{RaR|e1cP4;?S#I{?nexi_XeQU}&BF?7b*YUpd+60xo?hXRuBMs12~f+d^ngm|Dkk3} zv)d|bm;w)U&=nO-p=Upbjbk&eso|^huB~hx9bIB|SfgXoQ&pn8msZ!~#JEXI)m$2*3IlQ=(Xxmf zs1}i!?rk_S<1OrGe*=#@Bk&TRC>XgeOWri(pX{9;Kz%o*377nsPez_BhR_RvM17(O zM^0Kw{J*XzC-;g`oIgY2Lo4zodD?LOSe;pv_$9wSi7aK8S=*4|?;W*_2!Y2++;|4RXz?YYX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