Jingjing Zhai commited on
Commit
166b6c4
1 Parent(s): 2c9a759

Update app

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -0
app.py CHANGED
@@ -1,7 +1,7 @@
1
  from transformers import pipeline, AutoModelForMaskedLM, AutoTokenizer
2
  import gradio as gr
3
 
4
- model_name = "bert-base-uncased"
5
  model = AutoModelForMaskedLM.from_pretrained(model_name, trust_remote_code=True)
6
  tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
7
 
 
1
  from transformers import pipeline, AutoModelForMaskedLM, AutoTokenizer
2
  import gradio as gr
3
 
4
+ model_name = "kuleshov-group/PlantCaduceus_l20"
5
  model = AutoModelForMaskedLM.from_pretrained(model_name, trust_remote_code=True)
6
  tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
7
 
requirements.txt CHANGED
@@ -5,3 +5,4 @@ numpy<2.0.0
5
  httpx==0.23.0
6
  httpcore==0.15.0
7
  einops
 
 
5
  httpx==0.23.0
6
  httpcore==0.15.0
7
  einops
8
+ mamba_ssm==1.1.4