Faustrix commited on
Commit
d425ac5
1 Parent(s): 7ccbd55

pdate model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import AutoModel, AutoTokenizer
3
 
4
  # Load the model
5
- model = AutoModel.from_pretrained("openbmb/MiniCPM-Llama3-V-2_5", trust_remote_code=True)
6
 
7
  # Load the tokenizer
8
  tokenizer = AutoTokenizer.from_pretrained("openbmb/MiniCPM-Llama3-V-2_5", trust_remote_code=True)
 
2
  from transformers import AutoModel, AutoTokenizer
3
 
4
  # Load the model
5
+ model = AutoModel.from_pretrained("openbmb/MiniCPM-V-2", trust_remote_code=True)
6
 
7
  # Load the tokenizer
8
  tokenizer = AutoTokenizer.from_pretrained("openbmb/MiniCPM-Llama3-V-2_5", trust_remote_code=True)