mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-06-24 09:21:18 +08:00
keep the server in a valid state (#889)
This commit is contained in:
parent
bfc1f2763b
commit
f0c6c6e226
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user