Spaces:
Sleeping
Sleeping
actualizando el app
Browse files
app.py
CHANGED
@@ -59,14 +59,7 @@ else:
|
|
59 |
|
60 |
@st.cache_resource
|
61 |
def load():
|
62 |
-
|
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()
|