Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ def answer_question(image, question):
|
|
80 |
image.save('sample_img.png')
|
81 |
|
82 |
# Extracting features from the image
|
83 |
-
|
84 |
tokenizer=tokenizer,
|
85 |
target_size=target_size,
|
86 |
max_seq_length=max_seq_len,
|
|
|
80 |
image.save('sample_img.png')
|
81 |
|
82 |
# Extracting features from the image
|
83 |
+
dummy_img, boxes, tokenized_words = create_features(image_path='sample_img.png',
|
84 |
tokenizer=tokenizer,
|
85 |
target_size=target_size,
|
86 |
max_seq_length=max_seq_len,
|