Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -4,10 +4,7 @@
|
|
4 |
|
5 |
|
6 |
from PIL import Image
|
7 |
-
import torch
|
8 |
from transformers import BlipProcessor, BlipForQuestionAnswering
|
9 |
-
import json
|
10 |
-
import os
|
11 |
|
12 |
# Initialize the model and processor
|
13 |
processor = BlipProcessor.from_pretrained("Salesforce/blip-vqa-base")
|
|
|
4 |
|
5 |
|
6 |
from PIL import Image
|
|
|
7 |
from transformers import BlipProcessor, BlipForQuestionAnswering
|
|
|
|
|
8 |
|
9 |
# Initialize the model and processor
|
10 |
processor = BlipProcessor.from_pretrained("Salesforce/blip-vqa-base")
|