Fix loading session in chat mode

This commit is contained in:
oobabooga 2023-08-02 21:13:16 -07:00
parent 4b6c1d3f08
commit 32c564509e
3 changed files with 22 additions and 8 deletions

View file

@ -30,6 +30,10 @@ reload_inputs = [] # Parameters for reloading the chat interface
# For restarting the interface
need_restart = False
# To prevent the persistent chat history from being loaded when
# a session JSON file is being loaded in chat mode
session_is_loading = False
settings = {
'dark_theme': True,
'autoload_model': False,