Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,8 +30,8 @@ import torch
|
|
30 |
|
31 |
logging.set_verbosity_error()
|
32 |
|
33 |
-
model = BlipForConditionalGeneration.from_pretrained("
|
34 |
-
processor = AutoProcessor.from_pretrained("
|
35 |
|
36 |
st.title("Image Captioning")
|
37 |
|
|
|
30 |
|
31 |
logging.set_verbosity_error()
|
32 |
|
33 |
+
model = BlipForConditionalGeneration.from_pretrained("Salesforce/blip-image-captioning-base")
|
34 |
+
processor = AutoProcessor.from_pretrained("Salesforce/blip-image-captioning-base")
|
35 |
|
36 |
st.title("Image Captioning")
|
37 |
|