This commit is contained in:
Saifeddine ALOUI 2024-07-16 00:59:56 +02:00
parent 666ef124cb
commit 3a27dada37
5 changed files with 188 additions and 183 deletions

View File

@ -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'):

View File

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

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

View File

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