Welcome text v1 and slight mod to tooltip border

This commit is contained in:
ebolam
2022-10-11 20:45:09 -04:00
parent 028b0b70c0
commit eebd03483b
5 changed files with 17 additions and 5 deletions

View File

@@ -596,7 +596,8 @@ class model_settings(settings):
self.oaiapikey = "" # API key to use for OpenAI API calls
self.configname = None
self.online_model = ''
self.welcome = "" # Custom Welcome Text
self.welcome_default = "<img src='static/Welcome_Logo.png' style='max-width: 720px; width: 100%;'><br/>Please load a model from the left." # Custom Welcome Text
self.welcome = self.welcome_default
def reset_for_model_load(self):
self.max_length = 2048 # Maximum number of tokens to submit per action