breadlicker45 commited on
Commit
8148bc6
·
verified ·
1 Parent(s): 54ad917

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ print(f"Loading model: {MODEL_ID}...")
17
  try:
18
  # Tokenizer can still be loaded automatically
19
  tokenizer = AutoTokenizer.from_pretrained(MODEL_ID, token=HF_TOKEN, trust_remote_code=True)
20
- commit_hash = "6bf7ef200b7c0099039f48e39a21aea5e068e88e"
21
  model = AutoModelForSequenceClassification.from_pretrained(MODEL_ID, token=HF_TOKEN, trust_remote_code=True, revision=commit_hash)
22
 
23
  # Move the model to the selected device
 
17
  try:
18
  # Tokenizer can still be loaded automatically
19
  tokenizer = AutoTokenizer.from_pretrained(MODEL_ID, token=HF_TOKEN, trust_remote_code=True)
20
+ commit_hash = "4da4ceaf8f9b6fbba3528d38dba526f39ac75970"
21
  model = AutoModelForSequenceClassification.from_pretrained(MODEL_ID, token=HF_TOKEN, trust_remote_code=True, revision=commit_hash)
22
 
23
  # Move the model to the selected device