CHSTR commited on
Commit
9435ab3
1 Parent(s): d204908

actualizando el app

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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['image'])
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()