Spaces:
Running
on
Zero
Running
on
Zero
AdrienB134
commited on
Commit
•
a39ac5a
1
Parent(s):
feeea10
dsv
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def model_inference(
|
|
43 |
EOS_WORDS_IDS = [id_processor.tokenizer.eos_token_id]
|
44 |
print(type(images))
|
45 |
print(images[0])
|
46 |
-
images = Image.open(
|
47 |
print(images)
|
48 |
print(type(images))
|
49 |
if text == "" and not images:
|
|
|
43 |
EOS_WORDS_IDS = [id_processor.tokenizer.eos_token_id]
|
44 |
print(type(images))
|
45 |
print(images[0])
|
46 |
+
images = Image.open(images[0][0])
|
47 |
print(images)
|
48 |
print(type(images))
|
49 |
if text == "" and not images:
|