keep the server in a valid state (#889)

This commit is contained in:
Awni Hannun 2024-07-15 18:35:36 -07:00 committed by GitHub
parent bfc1f2763b
commit f0c6c6e226
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,6 +108,7 @@ class ModelProvider:
# Remove the old model if it exists. # Remove the old model if it exists.
self.model = None self.model = None
self.tokenizer = None self.tokenizer = None
self.model_key = None
# Building tokenizer_config # Building tokenizer_config
tokenizer_config = { tokenizer_config = {