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