This commit is contained in:
saloui 2023-06-21 17:13:51 +02:00
parent 6ce32cf1df
commit 7cc68d4b81
5 changed files with 63 additions and 63 deletions

6
app.py
View File

@ -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
View File

@ -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>

View File

@ -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