Spaces:
Sleeping
Sleeping
GeorgeSherif commited on
Commit ·
8dc3469
1
Parent(s): 9e13d0b
updating images path
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ except Exception as e:
|
|
| 26 |
dataset = Dataset.from_dict({'image_id': [], 'caption': []}, features=features)
|
| 27 |
dataset.push_to_hub(dataset_name) # Push the empty dataset to Hugging Face
|
| 28 |
|
| 29 |
-
image_folder = "
|
| 30 |
image_files = [f for f in os.listdir(image_folder) if f.endswith(('.png', '.jpg', '.jpeg'))]
|
| 31 |
lock = threading.Lock()
|
| 32 |
|
|
|
|
| 26 |
dataset = Dataset.from_dict({'image_id': [], 'caption': []}, features=features)
|
| 27 |
dataset.push_to_hub(dataset_name) # Push the empty dataset to Hugging Face
|
| 28 |
|
| 29 |
+
image_folder = "images"
|
| 30 |
image_files = [f for f in os.listdir(image_folder) if f.endswith(('.png', '.jpg', '.jpeg'))]
|
| 31 |
lock = threading.Lock()
|
| 32 |
|