README import fix

This commit is contained in:
imarochkin
2024-05-23 13:52:09 +03:00
parent e205e7f959
commit 139ce3bc95
3 changed files with 9 additions and 0 deletions

View File

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