mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-19 20:37:51 +00:00
updated
This commit is contained in:
parent
6ce32cf1df
commit
7cc68d4b81
6
app.py
6
app.py
@ -315,10 +315,10 @@ class LoLLMsWebUI(LoLLMsAPPI):
|
||||
config_path = personality_folder / 'config.yaml'
|
||||
if not config_path.exists():
|
||||
try:
|
||||
config_path.parent.rmdir()
|
||||
shutil.rmtree(str(config_path.parent))
|
||||
ASCIIColors.warning(f"Deleted useless personality: {config_path.parent}")
|
||||
except:
|
||||
ASCIIColors.warning(f"Couldn't delete personality")
|
||||
except Exception as ex:
|
||||
ASCIIColors.warning(f"Couldn't delete personality ({ex})")
|
||||
continue
|
||||
try:
|
||||
with open(config_path) as config_file:
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
web/dist/index.html
vendored
4
web/dist/index.html
vendored
@ -6,8 +6,8 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>LoLLMS WebUI - Welcome</title>
|
||||
<script type="module" crossorigin src="/assets/index-34e61592.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-91dd80ad.css">
|
||||
<script type="module" crossorigin src="/assets/index-8b2883b2.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-86710db0.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
@ -251,7 +251,7 @@ echo OK
|
||||
REM Install the required packages
|
||||
echo Installing requirements ...
|
||||
python -m pip install pip --upgrade
|
||||
python -m pip install --upgrade -r requirements.txt
|
||||
python -m pip install --upgrade -r requirements.txt --ignore-installed
|
||||
if %ERRORLEVEL% neq 0 (
|
||||
echo Failed to install required packages. Please check your internet connection and try again.
|
||||
pause
|
||||
|
Loading…
Reference in New Issue
Block a user