mirror of
https://github.com/iperov/DeepFaceLive
synced 2025-08-19 04:59:28 -07:00
fix relative imports
This commit is contained in:
parent
d31ee11efc
commit
ad5730c3ca
4 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from PyQt6.QtGui import *
|
from PyQt6.QtGui import *
|
||||||
from xlib.image import ImageProcessor
|
from ...image import ImageProcessor
|
||||||
|
|
||||||
|
|
||||||
def QPixmap_from_np(image : np.ndarray):
|
def QPixmap_from_np(image : np.ndarray):
|
||||||
|
|
|
@ -4,7 +4,7 @@ import numpy as np
|
||||||
from PyQt6.QtCore import *
|
from PyQt6.QtCore import *
|
||||||
from PyQt6.QtGui import *
|
from PyQt6.QtGui import *
|
||||||
from PyQt6.QtWidgets import *
|
from PyQt6.QtWidgets import *
|
||||||
from xlib.image import ImageProcessor
|
from ...image import ImageProcessor
|
||||||
from ..gui.from_np import QPixmap_from_np
|
from ..gui.from_np import QPixmap_from_np
|
||||||
from .QXWidget import QXWidget
|
from .QXWidget import QXWidget
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,8 @@ from pathlib import Path
|
||||||
from PyQt6.QtCore import *
|
from PyQt6.QtCore import *
|
||||||
from PyQt6.QtGui import *
|
from PyQt6.QtGui import *
|
||||||
from PyQt6.QtWidgets import *
|
from PyQt6.QtWidgets import *
|
||||||
from xlib import qt as lib_qt
|
from ..core.QXTimer import QXTimer
|
||||||
from xlib.db import KeyValueDB
|
from ...db import KeyValueDB
|
||||||
|
|
||||||
from .forward_declarations import forward_declarations
|
from .forward_declarations import forward_declarations
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ QRadioButton::disabled {{
|
||||||
self.setPalette(pal)
|
self.setPalette(pal)
|
||||||
|
|
||||||
self._reinitialize = False
|
self._reinitialize = False
|
||||||
self._timer = lib_qt.QXTimer(interval=10, timeout=self._on_10ms_timer, start=True)
|
self._timer = QXTimer(interval=10, timeout=self._on_10ms_timer, start=True)
|
||||||
|
|
||||||
def _on_10ms_timer(self):
|
def _on_10ms_timer(self):
|
||||||
self._app_db.process_messages()
|
self._app_db.process_messages()
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
from PyQt6.QtCore import *
|
from PyQt6.QtCore import *
|
||||||
from PyQt6.QtGui import *
|
from PyQt6.QtGui import *
|
||||||
from PyQt6.QtWidgets import *
|
from PyQt6.QtWidgets import *
|
||||||
from xlib.python import EventListener
|
from ...python import EventListener
|
||||||
|
|
||||||
from .forward_declarations import forward_declarations
|
from .forward_declarations import forward_declarations
|
||||||
from .QXMainApplication import QXMainApplication
|
from .QXMainApplication import QXMainApplication
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue