CHSTR commited on
Commit
26a9ef8
1 Parent(s): a8d901e

actualizando el app

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -59,14 +59,7 @@ else:
59
 
60
  @st.cache_resource
61
  def load():
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()
 
59
 
60
  @st.cache_resource
61
  def load():
62
+ path_images = "data/doc_explore/DocExplore_images/"
 
 
 
 
 
 
 
63
  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"
64
 
65
  model = Model()