update name

This commit is contained in:
Hongji Zhu
2024-05-23 19:30:48 +08:00
parent 6dde8b97ea
commit 43e7097649
4 changed files with 10 additions and 10 deletions

View File

@@ -506,13 +506,13 @@ pip install -r requirements.txt
```python
from chat import OmniLMMChat, img2base64
from chat import MiniCPMVChat, img2base64
import torch
import json
torch.manual_seed(0)
chat_model = OmniLMMChat('openbmb/MiniCPM-Llama3-V-2_5')
chat_model = MiniCPMVChat('openbmb/MiniCPM-Llama3-V-2_5')
im_64 = img2base64('./assets/airplane.jpeg')