Move chat history into shared module

This commit is contained in:
oobabooga 2023-02-23 15:11:18 -03:00
parent c87800341c
commit 2e86a1ec04
3 changed files with 82 additions and 85 deletions

View file

@ -7,6 +7,10 @@ soft_prompt_tensor = None
soft_prompt = False
stop_everything = False
# Chat variables
history = {'internal': [], 'visible': []}
character = 'None'
settings = {
'max_new_tokens': 200,
'max_new_tokens_min': 1,