Fix import issues in desktop image builds (#343)

This commit is contained in:
sabaimran 2023-07-26 22:45:52 +00:00 committed by GitHub
parent 8dcc21052f
commit 23d77ee338
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -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