rashiqua commited on
Commit
b6828c2
1 Parent(s): 9d2cfd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ model_name = "farhan2206/dnabert2fourth"
8
  # Load the tokenizer and model
9
 
10
  # Load the configuration associated with the model
11
- config = AutoConfig.from_pretrained(model_name)
12
 
13
  # Load the model using the correct configuration
14
  tokenizer = AutoTokenizer.from_pretrained(model_name, config=config, trust_remote_code=True)
 
8
  # Load the tokenizer and model
9
 
10
  # Load the configuration associated with the model
11
+ config = AutoConfig.from_pretrained(model_name, trust_remote_code=True)
12
 
13
  # Load the model using the correct configuration
14
  tokenizer = AutoTokenizer.from_pretrained(model_name, config=config, trust_remote_code=True)