Upgraded everything

This commit is contained in:
Saifeddine ALOUI 2023-11-25 23:32:32 +01:00
parent aee521727a
commit 14385f6f3d
11 changed files with 47 additions and 33 deletions

View File

@ -150,7 +150,7 @@ python -m venv ./env
```
- Activate the virtual environment:
- On windows: `./env/Scripts/activate`
- On linux: `./env/bin/activate`
- On linux: `source ./env/bin/activate`
- On macos: `./env/bin/activate`
- download submodules (lollms_core, zoos and safe_store library)
```bash

View File

@ -2055,7 +2055,20 @@ class LoLLMsAPPI(LollmsApplication):
def install_model_():
print("Install model triggered")
model_path = data["path"].replace("\\","/")
model_type:str=data["type"]
if data["type"].lower() in model_path.lower():
model_type:str=data["type"]
else:
mtt = None
for mt in self.binding.models_dir_names:
if mt.lower() in model_path.lower():
mtt = mt
break
if mtt:
model_type = mtt
else:
model_type:str=self.binding.models_dir_names[0]
progress = 0
installation_dir = self.binding.searchModelParentFolder(model_path.split('/')[-1], model_type)
if model_type=="gptq" or model_type=="awq":

@ -1 +1 @@
Subproject commit 3568ca8d5e058dc5d9792995cca949fcec13e124
Subproject commit 10af0b25f2b385c85ad00179f95b59840261433c

@ -1 +1 @@
Subproject commit 708548fcd776162aca4abac930c0dcdb6a36d84e
Subproject commit 7b5dae5940fb456792af7db6cf28b50284fb9120

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-2bec6d32.js"></script>
<link rel="stylesheet" href="/assets/index-0e906c43.css">
<script type="module" crossorigin src="/assets/index-6f13db08.js"></script>
<link rel="stylesheet" href="/assets/index-d513444c.css">
</head>
<body>
<div id="app"></div>

View File

@ -22,6 +22,7 @@
</div>
</pre>
<span v-if="executionOutput">Execution output</span>
<pre class="hljs mt-4 p-1 rounded-md break-all grid grid-cols-1" v-if="executionOutput">
<div class="overflow-x-auto break-all scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary">
<div ref="execution_output" v-html="executionOutput"></div>

View File

@ -17,16 +17,16 @@
<!-- GITHUB AND THEME BUTTONS -->
<div class="flex gap-3 flex-1 items-center justify-end">
<div v-if="!isGenerating" title="Connection status" class="text-green-500">
<div v-if="!isGenerating" title="Text is not being generated. Ready to generate" class="text-green-500">
<i data-feather="flag"></i>
</div>
<div v-if="isGenerating" title="Connection status" class="text-red-500">
<div v-if="isGenerating" title="Generation in progress..." class="text-red-500">
<i data-feather="flag"></i>
</div>
<div v-if="isConnected" title="Connection status" class="text-green-500">
<div v-if="isConnected" title="Connection status: Connected" class="text-green-500">
<i data-feather="zap"></i>
</div>
<div v-if="!isConnected" title="Connection status" class="text-red-500">
<div v-if="!isConnected" title="Connection status: Not connected" class="text-red-500">
<i data-feather="zap-off"></i>
</div>
<a href="https://github.com/ParisNeo/lollms-webui" target="_blank">

View File

@ -4,7 +4,7 @@
<Card :disableHoverAnimation="true" :disableFocus="true">
<h2 class="text-2xl font-bold mb-2">About Lord of large Language Models</h2>
<p class="mb-4"> Lollms version {{ version }}</p>
<p>Discord link: <a class="text-blue-500 hover:text-blue-400 duration-150" href="https://discord.gg/C73K7hjy">https://discord.gg/C73K7hjy</a></p>
<p>Discord link: <a class="text-blue-500 hover:text-blue-400 duration-150" href="https://discord.gg/C73K7hjy">https://discord.gg/vsGcArzs</a></p>
</Card>
<Card :disableHoverAnimation="true" :disableFocus="true">
@ -19,7 +19,7 @@
<Card :disableHoverAnimation="true" :disableFocus="true">
<h2 class="text-2xl font-bold mb-2">Contact Us</h2>
<p class="mb-4">If you have any further questions or need assistance, feel free to reach out to me.</p>
<p>Discord link: <a class="text-blue-500 hover:text-blue-400 duration-150" href="https://discord.gg/C73K7hjy">https://discord.gg/C73K7hjy</a></p>
<p>Discord link: <a class="text-blue-500 hover:text-blue-400 duration-150" href="https://discord.gg/C73K7hjy">https://discord.gg/vsGcArzs</a></p>
</Card>
<Card :disableHoverAnimation="true" :disableFocus="true">
<h2 class="text-2xl font-bold mb-2">Credits</h2>

@ -1 +1 @@
Subproject commit 5ef4dd53942a0a3cb43cce4e9d489402f780a6de
Subproject commit 9e94cb64ef5cd4d69428482fdd5a748ebbfc09ba