Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
11 |
caption_image = pipeline("image-to-text", model="Salesforce/blip-image-captioning-large", device=device)
|
12 |
|
13 |
# List of local image paths
|
14 |
-
example_images = ["
|
15 |
|
16 |
# Function to process the image
|
17 |
def process_image(image):
|
|
|
11 |
caption_image = pipeline("image-to-text", model="Salesforce/blip-image-captioning-large", device=device)
|
12 |
|
13 |
# List of local image paths
|
14 |
+
example_images = ["flower.jpg"]
|
15 |
|
16 |
# Function to process the image
|
17 |
def process_image(image):
|