mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
fixed pipmaster version error
This commit is contained in:
parent
8c1ac1f9b8
commit
7c69b99008
5
app.py
5
app.py
@ -23,8 +23,9 @@ if not PackageManager.check_package_installed_with_version("ascii_colors", expec
|
||||
from ascii_colors import ASCIIColors
|
||||
ASCIIColors.success("OK")
|
||||
|
||||
ASCIIColors.yellow(f"Checking pipmaster ({expected_ascii_colors_version}) ...", end="", flush=True)
|
||||
if not PackageManager.check_package_installed_with_version("pipmaster", "0.2.4"):
|
||||
expected_pipmaster_version = "0.3.0"
|
||||
ASCIIColors.yellow(f"Checking pipmaster ({expected_pipmaster_version}) ...", end="", flush=True)
|
||||
if not PackageManager.check_package_installed_with_version("pipmaster", expected_pipmaster_version):
|
||||
PackageManager.install_or_update("pipmaster")
|
||||
import pipmaster as pm
|
||||
ASCIIColors.success("OK")
|
||||
|
Loading…
Reference in New Issue
Block a user