mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 12:16:22 +00:00
upgraded
This commit is contained in:
parent
2195cd826f
commit
2ecfbe334b
@ -1,5 +1,5 @@
|
|||||||
# =================== Lord Of Large Language Multimodal Systems Configuration file ===========================
|
# =================== Lord Of Large Language Multimodal Systems Configuration file ===========================
|
||||||
version: 82
|
version: 83
|
||||||
binding_name: null
|
binding_name: null
|
||||||
model_name: null
|
model_name: null
|
||||||
model_variant: null
|
model_variant: null
|
||||||
@ -109,6 +109,7 @@ petals_device: cuda
|
|||||||
# lollms service
|
# lollms service
|
||||||
enable_lollms_service: false
|
enable_lollms_service: false
|
||||||
lollms_base_url: http://localhost:1234
|
lollms_base_url: http://localhost:1234
|
||||||
|
lollms_access_keys : "" # set a list of keys separated by coma to restrict access
|
||||||
activate_lollms_server: True
|
activate_lollms_server: True
|
||||||
activate_ollama_emulator: True
|
activate_ollama_emulator: True
|
||||||
activate_openai_emulator: True
|
activate_openai_emulator: True
|
||||||
|
1778
models.yaml
Normal file
1778
models.yaml
Normal file
File diff suppressed because it is too large
Load Diff
@ -76,6 +76,7 @@ def execute_javascript(code, client:Client, message_id, build_file=False):
|
|||||||
with open(tmp_file,"w",encoding="utf8") as f:
|
with open(tmp_file,"w",encoding="utf8") as f:
|
||||||
f.write(build_javascript_output(code)["output"])
|
f.write(build_javascript_output(code)["output"])
|
||||||
link = f"{host}:{lollmsElfServer.config.port}/{discussion_path_2_url(tmp_file)}"
|
link = f"{host}:{lollmsElfServer.config.port}/{discussion_path_2_url(tmp_file)}"
|
||||||
|
execution_time = time.time() - start_time
|
||||||
output_json = {"output": f'<b>Page built successfully</b><br><a href="{link}" target="_blank">Press here to view the page</a>', "execution_time": execution_time}
|
output_json = {"output": f'<b>Page built successfully</b><br><a href="{link}" target="_blank">Press here to view the page</a>', "execution_time": execution_time}
|
||||||
return output_json
|
return output_json
|
||||||
else:
|
else:
|
||||||
|
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">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>LoLLMS WebUI - Welcome</title>
|
<title>LoLLMS WebUI - Welcome</title>
|
||||||
<script type="module" crossorigin src="/assets/index-57650c64.js"></script>
|
<script type="module" crossorigin src="/assets/index-300e42b3.js"></script>
|
||||||
<link rel="stylesheet" href="/assets/index-96fe54f7.css">
|
<link rel="stylesheet" href="/assets/index-ec529940.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
@ -1304,6 +1304,21 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td style="min-width: 200px;">
|
||||||
|
<label for="lollms_access_keys" class="text-sm font-bold" style="margin-right: 1rem;">Access keys (coma separated, if empty, anyone can use the server without authentication):</label>
|
||||||
|
</td>
|
||||||
|
<td style="width: 100%;">
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
id="lollms_access_keys"
|
||||||
|
required
|
||||||
|
v-model="configFile.lollms_access_keys"
|
||||||
|
@change="settingsChanged=true"
|
||||||
|
class="w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"
|
||||||
|
>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td style="min-width: 200px;">
|
<td style="min-width: 200px;">
|
||||||
<label for="discussion_db_name" class="text-sm font-bold" style="margin-right: 1rem;">Port:</label>
|
<label for="discussion_db_name" class="text-sm font-bold" style="margin-right: 1rem;">Port:</label>
|
||||||
</td>
|
</td>
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 718112818f4391db7d11267cd9f65d97fb3c6e71
|
Subproject commit 706da62fe9deacdc9840ca9bf384efc25c61b323
|
Loading…
Reference in New Issue
Block a user