bili / app.py
Kaaaaaaa's picture
Update app.py
d40d8d1 verified
raw
history blame
170 Bytes
# Load model directly
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("IndexTeam/Index-1.9B-Character", trust_remote_code=True)