Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
|
|
4 |
|
5 |
from transformers import BlipProcessor, BlipForConditionalGeneration
|
6 |
|
7 |
-
model_id = "Salesforce/blip-image-captioning-
|
8 |
|
9 |
model = BlipForConditionalGeneration.from_pretrained(model_id)
|
10 |
processor = BlipProcessor.from_pretrained(model_id)
|
|
|
4 |
|
5 |
from transformers import BlipProcessor, BlipForConditionalGeneration
|
6 |
|
7 |
+
model_id = "Salesforce/blip-image-captioning-large"
|
8 |
|
9 |
model = BlipForConditionalGeneration.from_pretrained(model_id)
|
10 |
processor = BlipProcessor.from_pretrained(model_id)
|