mirror of
https://github.com/jingyaogong/minimind.git
synced 2026-09-04 10:39:55 +00:00
update web_demo
This commit is contained in:
@@ -102,7 +102,6 @@ def load_model_tokenizer(model_path):
|
||||
)
|
||||
tokenizer = AutoTokenizer.from_pretrained(
|
||||
model_path,
|
||||
use_fast=False,
|
||||
trust_remote_code=True
|
||||
)
|
||||
model = model.eval().to(device)
|
||||
|
||||
Reference in New Issue
Block a user