ff
Browse files
app.py
CHANGED
|
@@ -5,7 +5,6 @@ from PIL import Image
|
|
| 5 |
import base64
|
| 6 |
from io import BytesIO
|
| 7 |
|
| 8 |
-
|
| 9 |
# 加载模型和分词器
|
| 10 |
model_name = "openbmb/MiniCPM-Llama3-V-2_5-int4"
|
| 11 |
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
|
|
|
|
| 5 |
import base64
|
| 6 |
from io import BytesIO
|
| 7 |
|
|
|
|
| 8 |
# 加载模型和分词器
|
| 9 |
model_name = "openbmb/MiniCPM-Llama3-V-2_5-int4"
|
| 10 |
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
|