update web_demo

This commit is contained in:
jingyaogong 2025-04-04 11:25:40 +08:00
parent 278ec760a1
commit 08e9a22a25

View File

@ -102,7 +102,6 @@ def load_model_tokenizer(model_path):
) )
tokenizer = AutoTokenizer.from_pretrained( tokenizer = AutoTokenizer.from_pretrained(
model_path, model_path,
use_fast=False,
trust_remote_code=True trust_remote_code=True
) )
model = model.eval().to(device) model = model.eval().to(device)