update
Browse files
README.md
CHANGED
@@ -37,7 +37,7 @@ text = "A chat between a curious user and an artificial intelligence assistant.
|
|
37 |
image = Image.open("images/bus.jpg")
|
38 |
|
39 |
input_ids = tokenizer(text, return_tensors='pt').input_ids
|
40 |
-
image_tensor = model.
|
41 |
|
42 |
#Generate the answer
|
43 |
output_ids = model.generate(
|
|
|
37 |
image = Image.open("images/bus.jpg")
|
38 |
|
39 |
input_ids = tokenizer(text, return_tensors='pt').input_ids
|
40 |
+
image_tensor = model.image_preprocess(image)
|
41 |
|
42 |
#Generate the answer
|
43 |
output_ids = model.generate(
|