Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Commit History
-
Closest Fossils: clarify vetted fossil subset includes Florissant and other sites Running
Made-with: Cursor6a14bb7
-
Reword thumbnail browser: additional images not part of vetted dataset
Made-with: Cursor69a5527
-
Copy tweaks: clarify RISE, explanation method, closest-family and distribution disclaimers, and citation text
Made-with: Cursore1d8aa8 -
Closest neighbors: start at 5 and allow 'Add K more neighbors' with dynamic K and tables
Made-with: Cursor22fee3c -
Explanations: label heatmaps 1–5 and guard against index mismatch
Made-with: Cursor689cd27 -
Fossil links: map old prj_fossil_unknown pages to new FossilLeafLens pages/ pattern
Made-with: Cursor5f3d314 -
Update citation block with Fossil Leaf Lens reference and BibTeX
Made-with: Cursor420b503 -
Explanations: align families with classifier top-5; accept target_labels from UI
Made-with: Cursor81d08ae -
Closest tables: serve images via GCS URLs (works on Spaces)
Made-with: Cursor5219e48 -
Closest: cosine similarity; ensure 2 from top-predicted class; take top class by confidence; normalize family match
Made-with: Cursor67c5441
-
Track 2024 embeddings in dataset/ (extant + fossils .npy and paths); update .gitignore
Co-authored-by: Cursor <cursoragent@cursor.com>fe393a1 -
App: launch only when __main__; 2024 embeddings (extant/fossils), Euclidean NN, include predicted family in top 5; recompute script
Co-authored-by: Cursor <cursoragent@cursor.com>3a6d124
-
UI: clean thumbnail labels, show specimen ID, update article/disclaimer copy
- Remove selection suffixes (e.g. "— Plausible") from thumbnail captions - Carry selected specimen ID into Workbench for easy lookup - Replace primary article link with "will be linked when accepted" text - Update disclaimer wording for non-Florissant sites Co-authored-by: Cursor <cursoragent@cursor.com>840717a
-
Explanations: letterbox preprocessing, heatmap on preprocessed image, alpha slider, mask padding
- Use letterbox preprocessing (resize + black padding only, no tiling) for explanations - Overlay heatmap on preprocessed image; mask out zero-padded areas so no heat on black - Add Heatmap transparency (alpha) slider in Explanations UI - Use magma colormap (fallback when managua not available) - Deactivate automatic tab switch on Process Image; remove tab from Process outputs - Fix Gradio 6 tab update: use gr.update(selected=...) instead of gr.Tabs.update Co-authored-by: Cursor <cursoragent@cursor.com>bb8274a
-
Add context statement and Specimen Workbench link/auto-switch
- Add hero context: angiosperm fossil leaf ID from Florissant, link to primary article and companion sites - Remove duplicate Fossil Leaf Lens link - Auto-switch to Specimen Workbench tab when Process Image completes - Make 'Specimen Workbench' in the ready message a clickable link as fallback Co-authored-by: Cursor <cursoragent@cursor.com>13bed13
-
Fix model loading: BEiT support, token fallback (HF_TOKEN), condition bug
29697f1
-
Fix keras_cv_attention_models pin for Spaces
23d486f -
Pin requirements to avoid pip resolution-too-deep
20993fd -
Pin Python version and tighten deps for Spaces
a205ffa
-
Fix PCA dimension error: handle 3D embedding arrays by reshaping to 2D
b3fa9db -
Refine Florissant Leaf Inspector UI and data sources
a4ab9ce
-
Update requirements.txt
Verified signatureee4b238
-
Update README.md
Verified signature2df9618
-
Use Gradio 4.19.0 compatible with huggingface_hub 0.16.4
- Gradio 4.36.0 requires huggingface_hub>=0.19.3 (no HfFolder) - Gradio 4.19.0 works with huggingface_hub 0.16.4 (has HfFolder) - This resolves the dependency conflictfb693b9 -
adding fossils
48387d7 -
Pin exact versions of gradio and huggingface_hub to fix HfFolder import error
66b8be7 -
Use huggingface_hub 0.19.4 which still has HfFolder for Gradio compatibility
cb333bc -
Pin exact versions of gradio and huggingface_hub to fix HfFolder import error
- Pin gradio==4.36.0 (exact version) - Pin huggingface_hub==0.20.2 (compatible version without HfFolder) - Update README.md with requirements sectionc80bb9b -
Update requirements: use newer gradio version that doesn't require HfFolder
- Upgrade gradio to >=4.36.0 (compatible with newer huggingface_hub) - Use huggingface_hub>=0.20.0 (HfFolder was removed, newer Gradio handles this)5e67a7a -
Fix requirements.txt: pin compatible versions of gradio and huggingface_hub
- Pin huggingface_hub to <0.20.0 to avoid HfFolder import error - Pin gradio to >=4.0.0,<5.0.0 for compatibility - Add missing dependencies: pandas, scikit-learn, matplotlib, requests776982d -
Update closest images display: convert gallery to table format with full specimen names
- Convert closest images gallery to HTML table format - Display full specimen names (e.g., Fabaceae_Robinia_lesquereuxi_Florissant_FLFO_002604B) instead of just folder names - Extract specimen names using path.split('/')[-1] method - Add uniform table styling (remove alternating row colors) - Update labels.py: fix duplicate entries and match with user's plant family list - Add error handling for Git LFS pickle files - Improve dark mode support for user guide - Add CSV generation script for fossil examples8dc677a
-
update button style
f4141ed -
update button style
68b4410 -
debugging: xai output distortion
eac89a0 -
debugging: xai output distortion
7187e08 -
debugging: xai output distortion
5579c05 -
debugging: xai output distortion
99ddcfc -
debugging xai output distortion
6dd79e3
-
remove code and paper link in app header
2585875
-
Merge branch 'main' of hf.co:spaces/Serrelab/fossil_app into main
4829875 -
update closest samples code
b65b9a8 -
Delete embedding_fossils_142_finer.npy
Verified signature451714e -
update embeddings from resnet model
1662a5d -
use corresponding embeddings for each model
5a566ad
-
update closest_sample to use new embeddings
0b77991 -
update PCA
fc50afd -
remove BEiT option
1330097
-
increase brightness of image shown
7e7fba0
-
increase brightness of image shown
35d2da8 -
update user guide font size
503ec98