Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import accelerate
|
|
5 |
import scipy
|
6 |
from PIL import Image
|
7 |
|
8 |
-
from transformers import Blip2Processor, Blip2ForConditionalGeneration
|
9 |
|
10 |
|
11 |
def load_caption_model(blip2=False, instructblip=True):
|
|
|
5 |
import scipy
|
6 |
from PIL import Image
|
7 |
|
8 |
+
from transformers import Blip2Processor, Blip2ForConditionalGeneration, InstructBlipProcessor, InstructBlipForConditionalGeneration
|
9 |
|
10 |
|
11 |
def load_caption_model(blip2=False, instructblip=True):
|