Beginning of multi-user support (#2262)

Adds a lock to generate_reply
This commit is contained in:
flurb18 2023-05-24 08:38:20 -04:00 committed by GitHub
parent 7dc87984a2
commit d37a28730d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 1 deletions

View file

@ -6,6 +6,7 @@ import yaml
from modules.logging_colors import logger
generation_lock = None
model = None
tokenizer = None
model_name = "None"