mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix for Model Welcome Text
This commit is contained in:
@@ -595,9 +595,11 @@ class model_settings(settings):
|
||||
self.configname = None
|
||||
self.online_model = ''
|
||||
self.welcome_default = """ <img id='welcome-logo' src='static/Welcome_Logo.png' draggable='False'>
|
||||
<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 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
|
||||
|
@@ -2387,6 +2387,10 @@ body {
|
||||
}
|
||||
|
||||
#welcome_text {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.welcome_text {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
}
|
||||
|
@@ -45,7 +45,7 @@
|
||||
<!------------ Game Text Screen--------------------->
|
||||
<div class="gamescreen" id="gamescreen">
|
||||
<div id="disconnect_message"><center><h1>Disconnected</h1></center></div>
|
||||
<div id="welcome_text" class="var_sync_model_welcome welcome_text" draggable="False"></div>
|
||||
<div id="welcome_text" class="var_sync_model_welcome" draggable="False"></div>
|
||||
<div class="gametext" id="Selected Text" contenteditable=false onblur="select_game_text(null);" onclick="select_game_text(null);" onkeyup="select_game_text(event);">
|
||||
<span id="story_prompt" class="var_sync_story_prompt var_sync_alt_story_prompt_in_ai rawtext hidden" chunk="-1"></span>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user