Spaces:
Sleeping
Sleeping
debugg statment for docker
Browse files
helper/examples/examples.py
CHANGED
@@ -16,7 +16,9 @@ class DemoImages:
|
|
16 |
if not hasattr(self, "images_datasets"):
|
17 |
self.images_datasets = datasets.load_dataset(url, cache_dir=cache_dir)
|
18 |
self.example_df = self.images_datasets["train"].to_pandas()
|
|
|
19 |
self.examples_list = self.convert_bytes_to_images()
|
|
|
20 |
|
21 |
def convert_bytes_to_images(self):
|
22 |
examples_list = []
|
|
|
16 |
if not hasattr(self, "images_datasets"):
|
17 |
self.images_datasets = datasets.load_dataset(url, cache_dir=cache_dir)
|
18 |
self.example_df = self.images_datasets["train"].to_pandas()
|
19 |
+
print("df images: ", self.example_df)
|
20 |
self.examples_list = self.convert_bytes_to_images()
|
21 |
+
print("loaded images: ", self.examples_list)
|
22 |
|
23 |
def convert_bytes_to_images(self):
|
24 |
examples_list = []
|