From 6ddcbe2e75b7b689fa26878fef4ecc2d631b7158 Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Thu, 18 Aug 2022 20:52:34 +0300 Subject: [PATCH] Remove files that triggered warnings during app start --- Khoj.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Khoj.spec b/Khoj.spec index 38219b3c..9d6df897 100644 --- a/Khoj.spec +++ b/Khoj.spec @@ -41,6 +41,9 @@ torch_lib_paths = { } a.datas = [entry for entry in a.datas if not entry[0] in torch_lib_paths] +a.datas = [entry for entry in a.datas if not 'torch/_C.cp' in entry[0]] +a.datas = [entry for entry in a.datas if not 'torch/_dl.cp' in entry[0]] + pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) if system() != 'Darwin':