mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-02-02 17:21:10 +00:00
upgraded
This commit is contained in:
parent
3834c050bd
commit
08619e5deb
@ -11,9 +11,10 @@ from lollms.com import LoLLMsCom
|
||||
import platform
|
||||
import subprocess
|
||||
|
||||
|
||||
import os
|
||||
import threading
|
||||
if not PackageManager.check_package_installed("cv2"):
|
||||
os.system('sudo apt-get install libgl1-mesa-glx')
|
||||
PackageManager.install_package("opencv-python")
|
||||
import cv2
|
||||
|
||||
|
@ -170,7 +170,7 @@ Date: {{date}}
|
||||
return
|
||||
else:
|
||||
parts = str(personality_package_path).split("/")
|
||||
if parts[0]=="custom_personalities":
|
||||
if parts[0] == "custom_personalities":
|
||||
self.personality_package_path = self.lollms_paths.custom_personalities_path/parts[1]
|
||||
else:
|
||||
if is_relative_path:
|
||||
@ -1644,7 +1644,7 @@ class APScript(StateMachine):
|
||||
self.personality_config.config.load_config()
|
||||
except:
|
||||
self.personality_config.config.save_config()
|
||||
self.personality_config.sync()
|
||||
self.personality_config.sync()
|
||||
|
||||
def install(self):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user