mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Logo center fix
This commit is contained in:
@@ -616,13 +616,14 @@ class model_settings(settings):
|
||||
self.oaiapikey = "" # API key to use for OpenAI API calls
|
||||
self.configname = None
|
||||
self.online_model = ''
|
||||
self.welcome_default = """ <img id='welcome-logo' src='static/Welcome_Logo.png' draggable='False'>
|
||||
<div class='welcome_text'>
|
||||
<div id="welcome-text-content">Please load a model from the left.<br/>
|
||||
If you encounter any issues, please click the Download debug dump link in the Home tab on the left flyout and attach the downloaded file to your error report on <a href='https://github.com/ebolam/KoboldAI/issues'>Github</a>, <a href='https://www.reddit.com/r/KoboldAI/'>Reddit</a>, or <a href='https://discord.gg/XuQWadgU9k'>Discord</a>.
|
||||
A redacted version (without story text) is available.
|
||||
</div>
|
||||
</div>""" # Custom Welcome Text
|
||||
self.welcome_default = """<style>#welcome_container { display: block; } #welcome_text { display: flex; height: 100%; } .welcome_text { align-self: flex-end; }</style>
|
||||
<div id='welcome-logo-container'><img id='welcome-logo' src='static/Welcome_Logo.png' draggable='False'></div>
|
||||
<div class='welcome_text'>
|
||||
<div id="welcome-text-content">Please load a model from the left.<br/>
|
||||
If you encounter any issues, please click the Download debug dump link in the Home tab on the left flyout and attach the downloaded file to your error report on <a href='https://github.com/ebolam/KoboldAI/issues'>Github</a>, <a href='https://www.reddit.com/r/KoboldAI/'>Reddit</a>, or <a href='https://discord.gg/XuQWadgU9k'>Discord</a>.
|
||||
A redacted version (without story text) is available.
|
||||
</div>
|
||||
</div>""" # Custom Welcome Text
|
||||
self.welcome = self.welcome_default
|
||||
self.koboldai_vars = koboldai_vars
|
||||
|
||||
|
Reference in New Issue
Block a user