mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
removed unnecessary stuff
This commit is contained in:
parent
3783e710b7
commit
48921656e3
@ -65,7 +65,7 @@ def convert_language_name(language_name):
|
||||
}
|
||||
|
||||
# Return the corresponding language code if found, or None otherwise
|
||||
return language_codes.get(language_name)
|
||||
return language_codes.get(language_name,"en")
|
||||
|
||||
def terminate_thread(thread):
|
||||
if thread:
|
||||
@ -1207,11 +1207,11 @@ class LoLLMsAPI(LollmsApplication):
|
||||
selected_language=personality.split(":")[1] if ":" in personality else None,
|
||||
run_scripts=True)
|
||||
mounted_personalities.append(personality)
|
||||
if self.config.auto_read and len(self.personality.audio_samples)>0:
|
||||
if self.config.auto_read and len(personality.audio_samples)>0:
|
||||
try:
|
||||
from lollms.audio_gen_modules.lollms_xtts import LollmsXTTS
|
||||
if self.tts is None:
|
||||
self.tts = LollmsXTTS(self, voice_samples_path=Path(self.personality.audio_samples[0]).parent)
|
||||
self.tts = LollmsXTTS(self, voice_samples_path=Path(personality.audio_samples[0]).parent)
|
||||
except:
|
||||
self.warning(f"Personality {personality.name} request using custom voice but couldn't load XTTS")
|
||||
except Exception as ex:
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit e9eee97b1f8bf53dbbac4e2679a14fa22b078a57
|
||||
Subproject commit ab25c6c6aab13bbfa98bc1409e7d0a69808a1f7d
|
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 - Welcome</title>
|
||||
<script type="module" crossorigin src="/assets/index-d8d1b9ae.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-2159b8c7.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-f0a2f3df.css">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -11,15 +11,16 @@
|
||||
<RouterLink :to="{ name: 'playground' }" class="link-item dark:link-item-dark">
|
||||
Playground
|
||||
</RouterLink>
|
||||
<RouterLink :to="{ name: 'extensions' }" class="link-item dark:link-item-dark">
|
||||
Extensions
|
||||
</RouterLink>
|
||||
<!--
|
||||
|
||||
<RouterLink :to="{ name: 'training' }" class="link-item dark:link-item-dark">
|
||||
Training
|
||||
</RouterLink>
|
||||
<RouterLink :to="{ name: 'quantizing' }" class="link-item dark:link-item-dark">
|
||||
Quantizing
|
||||
</RouterLink>
|
||||
|
||||
-->
|
||||
<RouterLink :to="{ name: 'settings' }" class="link-item dark:link-item-dark">
|
||||
Settings
|
||||
</RouterLink>
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 23a72a2f2e256bd62ade8598b4b331ad127d77df
|
||||
Subproject commit 1858bb6a1317cde54c683cac2e76853279b369bf
|
Loading…
Reference in New Issue
Block a user