Spaces:
Sleeping
Sleeping
actualizando el app
Browse files
app.py
CHANGED
@@ -62,11 +62,11 @@ def load():
|
|
62 |
# Descargamos el dataset
|
63 |
dataset = load_dataset("CHSTR/docexplore")
|
64 |
print(dataset)
|
65 |
-
print(dataset['
|
66 |
#local_dir = "./"
|
67 |
#dataset.save_to_disk(local_dir)
|
68 |
|
69 |
-
path_images = dataset['image']
|
70 |
path_model = hf_hub_download(repo_id="CHSTR/DocExplore", filename="epoch=16-mAP=0.66_triplet.ckpt")#"models/epoch=16-mAP=0.66_triplet.ckpt"
|
71 |
|
72 |
model = Model()
|
|
|
62 |
# Descargamos el dataset
|
63 |
dataset = load_dataset("CHSTR/docexplore")
|
64 |
print(dataset)
|
65 |
+
print(dataset['features'])
|
66 |
#local_dir = "./"
|
67 |
#dataset.save_to_disk(local_dir)
|
68 |
|
69 |
+
path_images = dataset['features']['image']['filename']
|
70 |
path_model = hf_hub_download(repo_id="CHSTR/DocExplore", filename="epoch=16-mAP=0.66_triplet.ckpt")#"models/epoch=16-mAP=0.66_triplet.ckpt"
|
71 |
|
72 |
model = Model()
|