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
666ef124cb
commit
3a27dada37
@ -34,9 +34,13 @@ def get_presets():
|
||||
presets_folder = Path("__file__").parent/"presets"
|
||||
for filename in presets_folder.glob('*.yaml'):
|
||||
with open(filename, 'r', encoding='utf-8') as file:
|
||||
preset = yaml.safe_load(file)
|
||||
if preset is not None:
|
||||
presets.append(preset)
|
||||
try:
|
||||
print(filename)
|
||||
preset = yaml.safe_load(file)
|
||||
if preset is not None:
|
||||
presets.append(preset)
|
||||
except Exception as ex:
|
||||
trace_exception(ex)
|
||||
presets_folder = lollmsElfServer.lollms_paths.personal_discussions_path/"lollms_playground_presets"
|
||||
presets_folder.mkdir(exist_ok=True, parents=True)
|
||||
for filename in presets_folder.glob('*.yaml'):
|
||||
|
@ -17,7 +17,8 @@ content: |
|
||||
snippets:
|
||||
- Import graphics(required to add graphics to the page) :
|
||||
\usepackage[demo]{graphic}
|
||||
- Add graph: | \includegraphics[width=4in]{@<Image name>@}% Replace with your own image path
|
||||
- Add graph: |
|
||||
\includegraphics[width=4in]{@<Image name>@}% Replace with your own image path
|
||||
|
||||
help: |
|
||||
Builds a latex code for a book
|
File diff suppressed because one or more lines are too long
2
web/dist/index.html
vendored
2
web/dist/index.html
vendored
@ -6,7 +6,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>LoLLMS WebUI</title>
|
||||
<script type="module" crossorigin src="/assets/index-53ee2d5d.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-e244d07f.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-5cbc5b69.css">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -699,7 +699,7 @@ export default {
|
||||
axios.post("./text2Wave",{text:text}).then(response => {
|
||||
console.log(response.data.url)
|
||||
let url = response.data.url
|
||||
this.audio_url = bUrl+url
|
||||
this.audio_url = url
|
||||
this.isSynthesizingVoice=false
|
||||
nextTick(() => {
|
||||
feather.replace()
|
||||
|
Loading…
Reference in New Issue
Block a user