mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-19 20:37:51 +00:00
finel fix
This commit is contained in:
parent
611ac3eb0e
commit
1a2fa787b6
@ -96,6 +96,9 @@ def add_events(sio:socketio):
|
||||
def take_picture(sid):
|
||||
try:
|
||||
client = lollmsElfServer.session.get_client(sid)
|
||||
if client is None:
|
||||
lollmsElfServer.error("Client not recognized.\nTry refreshing the page")
|
||||
return
|
||||
lollmsElfServer.info("Loading camera")
|
||||
if not PackageManager.check_package_installed("cv2"):
|
||||
PackageManager.install_package("opencv-python")
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 4dbc3b724558b2f2b90cabc98e7351175aee1acc
|
||||
Subproject commit adef9a41123c6b296a2e486324e8fd7795d6e605
|
Loading…
Reference in New Issue
Block a user