Spaces:
Sleeping
Sleeping
Commit
·
5ffa3e1
1
Parent(s):
4493365
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ warnings.filterwarnings("ignore")
|
|
| 11 |
|
| 12 |
task = "image-to-text"
|
| 13 |
model = "Salesforce/blip-image-captioning-base"
|
| 14 |
-
image_captioner = pipeline("image-to-text", model = "Salesforce/blip-image-captioning-
|
| 15 |
|
| 16 |
def captioner(image):
|
| 17 |
result = image_captioner(image)
|
|
|
|
| 11 |
|
| 12 |
task = "image-to-text"
|
| 13 |
model = "Salesforce/blip-image-captioning-base"
|
| 14 |
+
image_captioner = pipeline("image-to-text", model = "Salesforce/blip-image-captioning-large")
|
| 15 |
|
| 16 |
def captioner(image):
|
| 17 |
result = image_captioner(image)
|