Skip to content

Commit

Permalink
Fix import issues in desktop image builds (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabaimran authored Jul 26, 2023
1 parent 8dcc210 commit 23d77ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Khoj.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion src/khoj/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 23d77ee

Please sign in to comment.