mirror of
https://github.com/OpenBMB/MiniCPM-V.git
synced 2026-02-04 17:59:18 +08:00
update name
This commit is contained in:
@@ -492,13 +492,13 @@ Please refer to the following codes to run.
|
||||
|
||||
|
||||
```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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user