Spaces:
Running
on
Zero
Running
on
Zero
AdrienB134
commited on
Commit
•
b8734cc
1
Parent(s):
adafc6a
vzerv
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 = images[0][0]
|
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:
|