Spaces:
Runtime error
Runtime error
Fix syntax
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ glip_demo = GLIPDemo(
|
|
33 |
show_mask_heatmaps=False
|
34 |
)
|
35 |
blip_demo = vqa.VQA(
|
36 |
-
model_path = 'checkpoints/model_base_vqa_capfilt_large.pth'
|
37 |
|
38 |
def predict_image(image, object, question):
|
39 |
result, _ = glip_demo.run_on_web_image(image[:, :, [2, 1, 0]], object, 0.5)
|
|
|
33 |
show_mask_heatmaps=False
|
34 |
)
|
35 |
blip_demo = vqa.VQA(
|
36 |
+
model_path = 'checkpoints/model_base_vqa_capfilt_large.pth')
|
37 |
|
38 |
def predict_image(image, object, question):
|
39 |
result, _ = glip_demo.run_on_web_image(image[:, :, [2, 1, 0]], object, 0.5)
|