Spaces:
Running
Running
pdate model
Browse files
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-
|
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)
|