mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-02-09 12:21:16 +00:00
Fixed bug in media
This commit is contained in:
parent
04bd34f1e6
commit
343921b606
@ -13,8 +13,8 @@ if not PackageManager.check_package_installed("pygame"):
|
|||||||
else:
|
else:
|
||||||
import pygame
|
import pygame
|
||||||
import threading
|
import threading
|
||||||
if not PackageManager.check_package_installed("pygame"):
|
if not PackageManager.check_package_installed("opencv-python"):
|
||||||
PackageManager.install_package("cv2")
|
PackageManager.install_package("opencv-python")
|
||||||
import cv2
|
import cv2
|
||||||
else:
|
else:
|
||||||
import cv2
|
import cv2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user