update web_demo

pull/825/head
jingyaogong 2025-04-04 11:25:40 +08:00
parent a4707f50c6
commit b1552809c8
1 changed files with 0 additions and 1 deletions

View File

@ -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)