mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-01 04:14:38 +08:00
keep the server in a valid state (#889)
This commit is contained in:
@@ -108,6 +108,7 @@ class ModelProvider:
|
||||
# Remove the old model if it exists.
|
||||
self.model = None
|
||||
self.tokenizer = None
|
||||
self.model_key = None
|
||||
|
||||
# Building tokenizer_config
|
||||
tokenizer_config = {
|
||||
|
Reference in New Issue
Block a user