mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-24 15:58:11 +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.
|
# 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 = {
|
||||||
|
Reference in New Issue
Block a user