model name added
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import torch
|
|
6 |
# Load model and processor
|
7 |
@st.cache_resource
|
8 |
def load_model():
|
9 |
-
model_name = "
|
10 |
processor = BlipProcessor.from_pretrained(model_name)
|
11 |
model = BlipForConditionalGeneration.from_pretrained(model_name)
|
12 |
return processor, model
|
|
|
6 |
# Load model and processor
|
7 |
@st.cache_resource
|
8 |
def load_model():
|
9 |
+
model_name = "Nishthaaa/image_captioning"
|
10 |
processor = BlipProcessor.from_pretrained(model_name)
|
11 |
model = BlipForConditionalGeneration.from_pretrained(model_name)
|
12 |
return processor, model
|