update install dependencies
Browse files
README.md
CHANGED
|
@@ -22,7 +22,13 @@ We release our model weights and provide an example below to run our model . Det
|
|
| 22 |
|
| 23 |
## How to use
|
| 24 |
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
```Python
|
| 28 |
import torch
|
|
|
|
| 22 |
|
| 23 |
## How to use
|
| 24 |
|
| 25 |
+
|
| 26 |
+
**Install dependencies**
|
| 27 |
+
```bash
|
| 28 |
+
!pip install -q transformers pillow accelerate einops
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
You can use the following code for model inference. The format of text instruction is similar to [LLaVA](https://github.com/haotian-liu/LLaVA).
|
| 32 |
|
| 33 |
```Python
|
| 34 |
import torch
|