mirror of
https://github.com/nomic-ai/gpt4all-ui.git
synced 2024-09-07 18:12:06 +00:00
upgraded
This commit is contained in:
parent
a0239e8df2
commit
ad8bab5e1d
9
app.py
9
app.py
@ -35,9 +35,16 @@ ASCIIColors.success("OK")
|
||||
|
||||
expected_scrapemaster_version = "0.1.6"
|
||||
ASCIIColors.yellow(f"Checking scrapemaster ({expected_scrapemaster_version}) ...", end="", flush=True)
|
||||
if not PackageManager.check_package_installed_with_version("scrapemaster", "0.1.4"):
|
||||
if not PackageManager.check_package_installed_with_version("scrapemaster", expected_scrapemaster_version):
|
||||
PackageManager.install_or_update("scrapemaster")
|
||||
ASCIIColors.success("OK")
|
||||
|
||||
expected_lollms_client_version = "0.6.2"
|
||||
ASCIIColors.yellow(f"Checking lollms_client ({expected_lollms_client_version}) ...", end="", flush=True)
|
||||
if not PackageManager.check_package_installed_with_version("lollms_client", expected_lollms_client_version):
|
||||
PackageManager.install_or_update("lollms-client")
|
||||
ASCIIColors.success("OK")
|
||||
|
||||
|
||||
|
||||
from fastapi import FastAPI
|
||||
|
@ -266,7 +266,8 @@ async def open_folder(file_path: FilePath):
|
||||
if Path(path).exists():
|
||||
# Use subprocess.Popen to safely open the file
|
||||
if platform.system() == 'Windows':
|
||||
subprocess.Popen(f'explorer "{path}"', shell=True)
|
||||
path = path.replace('/','\\')
|
||||
subprocess.Popen(f'explorer "{path}"')
|
||||
elif platform.system() == 'Linux':
|
||||
subprocess.run(['xdg-open', str(path)], check=True, shell=True)
|
||||
elif platform.system() == 'Darwin':
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 30a0cca3abc60b8a78e8ff94924d54f8c27dc4af
|
||||
Subproject commit afe572f2e4728081c9924a130deb05799f6ecb41
|
Loading…
Reference in New Issue
Block a user