Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ device_id = 0 if torch.cuda.is_available() else -1
|
|
16 |
|
17 |
captioning_pipeline = pipeline(
|
18 |
"image-to-text",
|
19 |
-
model="
|
20 |
device=device_id
|
21 |
)
|
22 |
|
|
|
16 |
|
17 |
captioning_pipeline = pipeline(
|
18 |
"image-to-text",
|
19 |
+
model="Salesforce/blip-image-captioning-large", #
|
20 |
device=device_id
|
21 |
)
|
22 |
|