Skip to content

Commit 8c772f7

Browse files
authored
Update demo.py
1 parent 60a2e3d commit 8c772f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llama_adapter_v2_multimodal/demo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
model.eval()
1212

1313
prompt = llama.format_prompt('Please introduce this painting.')
14-
img = Image.fromarray(cv2.imread("./docs/logo_v1.png"))
14+
img = Image.fromarray(cv2.imread("../docs/logo_v1.png"))
1515
img = preprocess(img).unsqueeze(0).to(device)
1616

1717
result = model.generate(img, [prompt])[0]
1818

19-
print(result)
19+
print(result)

0 commit comments

Comments
 (0)