Spaces:
Sleeping
Sleeping
test
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from transformers import AutoModel, AutoTokenizer
|
|
5 |
device = "cpu"
|
6 |
|
7 |
# Load the model
|
8 |
-
model = AutoModel.from_pretrained("openbmb/MiniCPM-Llama3-V-2_5", trust_remote_code=True
|
9 |
model = model.to(device=device)
|
10 |
|
11 |
# Load the tokenizer
|
|
|
5 |
device = "cpu"
|
6 |
|
7 |
# Load the model
|
8 |
+
model = AutoModel.from_pretrained("openbmb/MiniCPM-Llama3-V-2_5", trust_remote_code=True)
|
9 |
model = model.to(device=device)
|
10 |
|
11 |
# Load the tokenizer
|