diff --git a/Khoj.spec b/Khoj.spec index a2d92e293..54069c4ac 100644 --- a/Khoj.spec +++ b/Khoj.spec @@ -19,6 +19,9 @@ datas += copy_metadata('filelock') datas += copy_metadata('numpy') datas += copy_metadata('tokenizers') datas += copy_metadata('pillow') +datas += copy_metadata('huggingface_hub') +datas += copy_metadata('safetensors') +datas += copy_metadata('pyyaml') block_cipher = None diff --git a/src/khoj/main.py b/src/khoj/main.py index 6689805c1..22bb85867 100644 --- a/src/khoj/main.py +++ b/src/khoj/main.py @@ -75,7 +75,8 @@ def run(): start_server(app, host=args.host, port=args.port, socket=args.socket) else: from PySide6 import QtWidgets - from PySide6.QtCore import QThread, QTimer + from PySide6.QtCore import QTimer + from khoj.interface.desktop.main_window import MainWindow, ServerThread from khoj.interface.desktop.system_tray import create_system_tray