Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ from transformers import BlipProcessor, BlipForConditionalGeneration
|
|
| 7 |
|
| 8 |
|
| 9 |
# Load your images
|
| 10 |
-
image_dir = "
|
| 11 |
images = [os.path.join(image_dir, f) for f in os.listdir(image_dir) if f.endswith(".jpg")]
|
| 12 |
|
| 13 |
# Load the model and processor
|
|
|
|
| 7 |
|
| 8 |
|
| 9 |
# Load your images
|
| 10 |
+
image_dir = "images"
|
| 11 |
images = [os.path.join(image_dir, f) for f in os.listdir(image_dir) if f.endswith(".jpg")]
|
| 12 |
|
| 13 |
# Load the model and processor
|