mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 17:35:07 +01:00
Fix import issues in desktop image builds (#343)
This commit is contained in:
parent
8dcc21052f
commit
23d77ee338
2 changed files with 5 additions and 1 deletions
|
@ -19,6 +19,9 @@ datas += copy_metadata('filelock')
|
||||||
datas += copy_metadata('numpy')
|
datas += copy_metadata('numpy')
|
||||||
datas += copy_metadata('tokenizers')
|
datas += copy_metadata('tokenizers')
|
||||||
datas += copy_metadata('pillow')
|
datas += copy_metadata('pillow')
|
||||||
|
datas += copy_metadata('huggingface_hub')
|
||||||
|
datas += copy_metadata('safetensors')
|
||||||
|
datas += copy_metadata('pyyaml')
|
||||||
|
|
||||||
block_cipher = None
|
block_cipher = None
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,8 @@ def run():
|
||||||
start_server(app, host=args.host, port=args.port, socket=args.socket)
|
start_server(app, host=args.host, port=args.port, socket=args.socket)
|
||||||
else:
|
else:
|
||||||
from PySide6 import QtWidgets
|
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.main_window import MainWindow, ServerThread
|
||||||
from khoj.interface.desktop.system_tray import create_system_tray
|
from khoj.interface.desktop.system_tray import create_system_tray
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue