mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-02-03 17:50:40 +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:
|
||||
import pygame
|
||||
import threading
|
||||
if not PackageManager.check_package_installed("pygame"):
|
||||
PackageManager.install_package("cv2")
|
||||
if not PackageManager.check_package_installed("opencv-python"):
|
||||
PackageManager.install_package("opencv-python")
|
||||
import cv2
|
||||
else:
|
||||
import cv2
|
||||
|
Loading…
x
Reference in New Issue
Block a user