mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 17:35:07 +01:00
Remove files that triggered warnings during app start
This commit is contained in:
parent
60dacf3f2c
commit
6ddcbe2e75
1 changed files with 3 additions and 0 deletions
|
@ -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':
|
||||
|
|
Loading…
Reference in a new issue