Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ processor = AutoProcessor.from_pretrained("Salesforce/blip-image-captioning-base
|
|
| 9 |
model = BlipForConditionalGeneration.from_pretrained("Salesforce/blip-image-captioning-base")
|
| 10 |
|
| 11 |
# Load your image, DON'T FORGET TO WRITE YOUR IMAGE NAME
|
| 12 |
-
img_path = "
|
| 13 |
# convert it into an RGB format
|
| 14 |
image = Image.open(img_path).convert('RGB')
|
| 15 |
|
|
|
|
| 9 |
model = BlipForConditionalGeneration.from_pretrained("Salesforce/blip-image-captioning-base")
|
| 10 |
|
| 11 |
# Load your image, DON'T FORGET TO WRITE YOUR IMAGE NAME
|
| 12 |
+
img_path = "demo.jpeg"
|
| 13 |
# convert it into an RGB format
|
| 14 |
image = Image.open(img_path).convert('RGB')
|
| 15 |
|