gokaygokay commited on
Commit
74585d2
1 Parent(s): 3018014

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +19 -3
README.md CHANGED
@@ -1,3 +1,19 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
4
+
5
+ ```
6
+ pip install git+https://github.com/haotian-liu/LLaVA.git --no-deps
7
+ pip install lmdeploy
8
+ ```
9
+
10
+ ```python
11
+ from lmdeploy import pipeline
12
+ from lmdeploy.vl import load_image
13
+
14
+ pipe = pipeline('gokaygokay/llava-llama3-docci')
15
+
16
+ image = load_image('https://raw.githubusercontent.com/open-mmlab/mmdeploy/main/tests/data/tiger.jpeg')
17
+ response = pipe(('describe this image', image))
18
+ print(response)
19
+ ```